タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

storyboardとiosに関するdannのブックマーク (3)

  • Storyboardとの付き合い方 2018

    Aug 12, 2018 少し前に、自分のStoryboardの使い方をツイートしたら割と反応があったので、改めてまとめてみようと思います。これまで何年かiOSアプリの開発をしてきて、Storyboardとの付き合い方は何度も変わりました。なので、今回紹介するものはあくまで2018年現在のもので、来年には変わっているかもしれません。 説明のイメージを掴みやすくするため、画面の例を用意しました。左が編集時のStoryboardで、右が実行時のiOSシミュレーターです。具体的なトピックが出た時に、この例を説明に使うことがあります。 記事の最後にこれが動作するサンプルコードも用意しましたので、興味があればどうぞ。 Storyboardを使う目的 以下の2つを重視して、Storyboardを選択しています。 動作確認に掛かる時間を短縮する 成果物の構造を把握しやすくする ただし、Storyboar

    Storyboardとの付き合い方 2018
  • Storyboardでの画面遷移をスマートにやる方法 | TOKOROM BLOG

    これは potatotips第6回め で発表した この話 のまとめと後書きです。 Storyboardいいですよね! Storyboardを使うことで、 画面と画面が疎結合になる 簡単な画面遷移ならノンコーディングで実現できてソースコードを汚さない といったメリットがあります。 Storyboard登場以前だと、次の画面に遷移させるだけでも #import "NextViewController.h" NextViewController *nextViewController = [NextViewController new]; [self.navigationController pushViewController:nextViewController animated:YES]; といったコーディングをし、遷移元のViewControlelrは遷移先のViewController

    dann
    dann 2014/04/13
    “ TKRSegueOptions ”
  • storyboard時代のInterfaceBuilder

    Storyboards allow designing the visual layout and flow of an iOS app in Interface Builder. Key features include: 1. Defining view controllers and the transitions between them via segues like push, modal, and custom segues. 2. Configuring properties of view controllers and segues like identifiers that are used to perform segues programmatically. 3. Integrating various iOS components like navigation

    storyboard時代のInterfaceBuilder
  • 1