Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Gunosy for Apple Watchができるまで

Gunosy for Apple Watchができるまで

GunosyのGlance画面を作るために作ったライブラリ
https://github.com/jeffsuke/GlanceWordRainbowImage

Yusuke Kawanabe

May 27, 2015
Tweet

More Decks by Yusuke Kawanabe

Other Decks in Technology

Transcript

  1. Gunosyʹ͓͚ΔWatch App • Alamofire • SwiftyJSON • API͔Βड͚औͬͨ࿩୊ͷ৘ใΛݩʹ هࣄΛදࣔɻৄࡉϖʔδͰ͸ɺຊମʹ อଘɺຊମͰ։͘ࣄ͕Ͱ͖Δɻ

    • ඳը·ͰΛ࠷୹ʹ͢Δ • iPhoneͱAppleWatchͷ௨৴ΛݮΒ͢ • อଘग़དྷΔ΋ͷ͸อଘ͢Δ ϙΠϯτ ֓ཁ
  2. willActivate()ͷ׆༻ • initͱawakeͰͷॲཧΛ࠷খݶʹ 1. Watch App͕ݺͼग़͞ΕΔ 2. Storyboard͕ಡΈࠐ·ΕΔ 3. ର৅ը໘ͷinit,

    awake͕૸Δ 4. Watch্Ͱը໘͕දࣔ͞ΕΔ 5. willActivate()͕ݺ͹ΕΔ ىಈ·Ͱͷखॱ