皆さん今朝はどんな夢をみましたか。今日は私の初夢を紹介します。 prepareForSegue iOSアプリを開発していて、特にStoryboardを利用して遷移を作るとき、往々にしてそのコードは不完全になる。 ViewControllerの遷移をするときには、次に表示されるViewControllerに必要な情報を受け渡して初期化しなければならない。Storyboardを使った遷移は、すでにインスタンス化されたViewControllerオブジェクトに対して行うことになる。このためViewControllerのイニシャライザを利用できない。従ってUIViewControllerのprepareForSegue(_:sender:)メソッドをオーバーライドして、UIStoryboardSegueオブジェクトのdestinationViewController: UIViewControll
About the content This content has been published here with the express permission of the author. Carthage is a new dependency manager for Objective-C and Swift projects, intended to be the simplest way to add frameworks to a Cocoa application. Carthage works by delegating tasks to Xcode and Git, minimizing new concepts as much as possible, so you can continue to use the tools you’re already famil
Written by Mattt January 1st, 2015 This article has been translated into: 中文 As we take a moment to reflect on our experiences over the past year, one thing is clear: 2014 was an incredible year professionally for Apple developers. So much has happened in such a short timespan, and yet it’s hard to remember our relationship to Objective-C before Swift, or what APIs could have captivated our imagin
Swiftは1年ぐらい混乱した後にObjective-Cの置き換えになるのでしょう。採用と人材育成を考えると、長く生き残るアプリほど既存コードをSwiftに置き換える必要が出てきますかね。 クラス単位かファイル単位かでObjective-CとSwiftは混在できるようですが、そういうのもあんまりねぇ。コンバーターとか出てこないのかな。90%の完成度で良いから変換してくれれば、あとは直すからさ。 ■Swift参考記事(プロ向け) [iOS] 新言語SwiftがObjective-Cよりも良いところ – Qiita Swift ファーストインプレッション – mizchi’s blog MacOS 10.10 Yosemite、新プログラミング言語Swiftが発表!さてさて・・・:電脳ヒッチハイクガイド:電脳空間カウボーイズZZ(電脳空間カウボーイズ) – ニコニコチャンネル:生活 上記、非常
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く