Talk given 29 Apr 2016 at NSNorth Toronto WWDC 2016 is just around the corner, and there’s probably going to be a bunch of cool stuff announced (mayb…
Rachel Bobbins Stitch FixでiOSのリードエンジニアをしています。以前はPivotal Labsで働いていました。ユーザ・開発者の両方にとって素晴らしい経験を作り出すことを大切にしています。 twitter.com D.A.ノーマン著「誰のためのデザイン?(原題: \"The Design of Everyday Things\")」はデザイン哲学に焦点をあてたデザインの書です。そこで紹介されている多くの原則はSwiftのような物理的ではない言語についても当てはまります。このような原則を通して、読みやすく効果的なコードの書き方を探ります。 6年前に読んだ本を読み返しました。 心理学や認知科学から考えて製品を設計するというものです。 この本で紹介されている内容とコードの関係を考えてしまいます。どうやってコードの設計にこれを適用するか。 ひょっとすると危ない未知を歩んで
Eureka EngineeringLearn about Eureka’s engineering efforts, product developments and more.
『アプリ道場 Advent Calendar 2015』8日目は「Auto Layoutが好き過ぎて、StackViewをおかずにご飯3杯いける」ゆこびん(@yucovin)がお送りします。 そもそもイラストレーター/デザイナーなので、アプリの開発をしていても見た目を司るAuto Layoutが気になって気になってしょうがないです。(これは恋?!) ということで、本日は今年綺羅星のごとく現れたAuto Layout界の期待のクラス「UIStackView」についてまとめたいと思います!(๑´ㅂ`๑) UIStackViewは一言で言うと、便利なレイアウト用の箱です。 StackViewは2つ以上の縦または横に並ぶサブビューを面倒な制約(Constraints)を作ることなく、いいカンジにレイアウトしてくれます。 StackViewを上手く使えば制約の数をうんと少なくすることができるんです。
iOS8からのTableViewCellの高さ自動計算は、上スクロールした時にはうまく動かない件で、UITableViewCellの高さ自動計算でハマる場合がある事がわかりました。 これを回避するには、estimatedHeightを使わずに、真面目に高さ計算を行えば良いです。 Autolayoutが無い時代には、これをごりごりと計算していたのですが、UITableViewCellにAutolayoutを使う事で、かなり簡略化できたのでその記録を残します。 おおまかな流れ UITableViewDataSourceから参照できる所に、「表示する事の無い、高さ計算用のダミーセル」を用意します。 tableView:heightForRowAtIndexPath: で、ダミーセルを使って高さ計算を行います。 このときAutolayoutで計算ができるので、比較的楽です。 ソース - (void
iOS、Android、Unityなどのアプリ開発について、初心者向けの内容を『RainbowApps』講師陣が分かりやすく解説していきます。 第5回に引き続き、「AutoLayoutの使い方」です。 第5回ではAutoLayoutの基本的な使い方を学びましたので、今回はより実践的なレイアウトを組んでいくことで、AutoLayoutへの理解を深めていきましょう。 【1】画面サイズに応じた大きさでViewを表示する 【2】等間隔にViewを表示する 【3】宿題 最終的に下記のような画面を作っていきます。 【1】画面サイズに応じた大きさでViewを表示する ImageViewを用いて写真やコンテンツの画像を「どーんと表示したい」ことはよくあると思います。しかし、画像のアスペクト比(縦横比)が変わってしまっては台無しですね。 そこで、アスペクト比を維持したまま画面サイズに応じて大きさが変わるよう
Update note: This tutorial has been updated to iOS 11, Xcode 9, and Swift 4 by Ryan Ackermann. The original tutorial was written by Matthijs Hollemans. Have you ever been frustrated trying to make your apps look good in both portrait and landscape orientation? Is making screen layouts that support both the iPhone and iPad driving you to the brink of madness? Despair no longer, I bring you good new
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? はじめに Auto Layoutが有効になっているStoryboardでScroll Viewを定義する際、思い通りに定義できずに困ったことはないですか?Auto Layoutの警告が消えなかったり、実行時にContent Sizeが思い通りのサイズにならなかったりした経験がある人は意外と多いかも知れません。 この記事では、Storyboardだけでページング可能なScroll Viewを定義する方法を提案します。また、Auto Layoutを活用して、どのような画面サイズにも対応できることを目指します。Storyboardだけで定義す
iOS7Yahoo.md Yahoo! 株式会社 2013/10/07 資料は後ほどシェア iOS 7 でアプリ開発はどう変わる (佐野さん) iOS 7 のデザイン原則 UI はコンテンツに従順 * Safari が分かりやすい * ナビゲーションバーが殆ど消える * コンテンツを強調 分かりやすくスッキリしている 余白がたっぷり 平面的 アイコンよりもテキスト 奥行きがある iOS 7 = フラットを鵜呑みにしてはいけない UI は平面的 OS 全体では奥行きが大切にされている iOS 6 は操作が理解できる iOS 7 はコンテンツに集中できる iOS 7 はユーザーが学習済みであるというデザイン原則がある iOS 7 時代の開発 Xcode 5 テスト周りが充実 Storyboard と Autolayout (Xcode 5 からは標準) iOS 7 と iOS 6 のコンポーネ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く