Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
iOS9のUIKitDynamics
Search
Shinji Kobayashi
November 26, 2015
Programming
0
42
iOS9のUIKitDynamics
Shinji Kobayashi
November 26, 2015
Tweet
Share
More Decks by Shinji Kobayashi
See All by Shinji Kobayashi
5分でできる UITableViewのDrag & Drop
gentlesoft
0
460
自社コンテンツ配信 のためのWebView Tips
gentlesoft
2
5.5k
実践Protocol-Extension
gentlesoft
0
70
UIKitDynamicsの活用法
gentlesoft
0
600
SwiftでUIKitDynamics
gentlesoft
0
54
CoreDataによるデータ駆動型プログラミング
gentlesoft
0
190
Other Decks in Programming
See All in Programming
🔨 小さなビルドシステムを作る
momeemt
3
670
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
6
2.3k
Swift Updates - Learn Languages 2025
koher
2
470
アルテニア コンサル/ITエンジニア向け 採用ピッチ資料
altenir
0
100
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
480
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
20
5.5k
Deep Dive into Kotlin Flow
jmatsu
1
290
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
270
AIでLINEスタンプを作ってみた
eycjur
1
230
TDD 実践ミニトーク
contour_gara
1
290
ソフトウェアテスト徹底指南書の紹介
goyoki
1
150
個人軟體時代
ethanhuang13
0
320
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Embracing the Ebb and Flow
colly
87
4.8k
The Pragmatic Product Professional
lauravandoore
36
6.9k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Optimizing for Happiness
mojombo
379
70k
Speed Design
sergeychernyshev
32
1.1k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Language of Interfaces
destraynor
161
25k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Code Reviewing Like a Champion
maltzj
525
40k
Typedesign – Prime Four
hannesfritz
42
2.8k
Why Our Code Smells
bkeepers
PRO
339
57k
Transcript
iOS9ͷUIKitDynamics Shinji Kobayashi GentleSoft ୈ̑̌ճ ͘͘iOS ̎पLTձ@Rettyʲ࠷ऴճʳ
NameɿShinji Kobayashi Twitterɿ@gentlejkov GentleSoft Who are you? http://gentlesoft.net
2DͷཧԋࢉΛͬͨΞχϝʔγϣϯ͕ ؆୯ʹ࡞Ͱ͖ΔϥΠϒϥϦ վΊͯUIDynamicsͱ
• UIAttachmentBehaviorɹ-ɹόω • UICollisionBehaviorɹ-ɹিಥ • UIGravityBehaviorɹ-ɹॏྗ • UIDynamicItemBehaviorɹ-ɹମͷಛੑ • UIPushBehaviorɹ-ɹΤωϧΪʔ
• UISnapBehaviorɹ-ɹҠಈʁ ࠓ·ͰͷUIDynamics
• UIAttachmentBehaviorɹ-ɹόω • UICollisionBehaviorɹ-ɹিಥ • UIGravityBehaviorɹ-ɹॏྗ • UIDynamicItemBehaviorɹ-ɹମͷಛੑ • UIPushBehaviorɹ-ɹΤωϧΪʔ
• UISnapBehaviorɹ-ɹҠಈʁ ࠓ·ͰͷUIDynamics
• UIDynamicItemCollisionBoundsType • UIFieldBehavior • Linear Gravityɹ-ɹॏྗۭؒ • Radial Gravity
ɹ-ɹҾྗ/࣓ྗ/Ϋʔϩϯྗ • UIAttachmentBehavior 1. limitAttachmentWithItemɹ-ɹϩʔϓ 2. pinAttachmentWithItemɹ-ɹఆं 3. slidingAttachmentWithItemɹ-ɹಈं 4. fixedAttachmentWithItemɹ-ɹ iOS9ͰՃ͞Εͨػೳ
• UIDynamicItemCollisionBoundsType • UIFieldBehavior • Linear Gravityɹ-ɹॏྗۭؒ • Radial Gravity
ɹ-ɹҾྗʗΫʔϩϯྗ • UIAttachmentBehavior 1. limitAttachmentWithItemɹ-ɹϩʔϓ 2. pinAttachmentWithItemɹ-ɹఆं 3. slidingAttachmentWithItemɹ-ɹಈं 4. fixedAttachmentWithItemɹ- ʁɹ iOS9ͰՃ͞Εͨػೳ
• UIDynamicItemCollisionBoundsType • UIFieldBehavior • Linear Gravityɹ-ɹॏྗۭؒ • Radial Gravity
ɹ-ɹҾྗʗΫʔϩϯྗ • UIAttachmentBehavior 1. limitAttachmentWithItemɹ-ɹϩʔϓ 2. pinAttachmentWithItemɹ-ɹఆं 3. slidingAttachmentWithItemɹ-ɹಈं 4. fixedAttachmentWithItemɹ-ɹ iOS9ͰՃ͞Εͨػೳ iOS9ͰՃ͞Εͨػೳ
Demo
2DͷཧԋࢉΛͬͨΞχϝʔγϣϯ͕ ؆୯ʹ࡞Ͱ͖ΔϥΠϒϥϦ վΊͯUIDynamicsͱ
2DͷཧԋࢉΛͬͨΞχϝʔγϣϯ͕ ؆୯ʹ࡞Ͱ͖ΔϥΠϒϥϦ վΊͯUIDynamicsͱ 2DͷཧԋࢉΛ؆୯ʹ࣮Ͱ͖ΔϥΠϒϥϦ