Date post: | 01-Jul-2015 |
Category: |
Technology |
Upload: | - |
View: | 206 times |
Download: | 0 times |
KJEvent *newEvent = [[KJEvent alloc] initWithTitle:@“UIDynamics” withDateString:@“2014-03-08” withSpeaker:@“Ji Sanghoon” withSubtitles:@[UIDynamics, UIMotionEffect]]; !
[newEvent readyToPresent];
KJ-CODE Since 2010
UIMotionEffect + UIDynamics
Ji Sanghoon2014. 3. 8
in KJ-CODEKJ-CODE Since 2010
UIMotionEffect & UIDynamics is..
• It work only iOS7
• NOT for game programming (see SpriteKit)
• More better UI / UX
• For realistic motion
KJ-CODE Since 2010
Helps
• Tect Talk 2013 - Architecting Modern Apps, Part 1
• UIMotionEffect Class Reference
• Introduction to UIMotionEffect
• UIDynamic Catalog Sample Code
KJ-CODE Since 2010
Waht is UIMotionEffect
KJ-CODE Since 2010
Make depth between views & make reality
UIMotionEffect
• Abstract class
• Easily more than UIAccelerometer
• Just one Motion - UIInterpolatingMotionEffect
• Not working in AirPlay
KJ-CODE Since 2010
HOW TO USE ?
KJ-CODE Since 2010
UIDynamics
• Realistic
• Physics-based engine
• Collisions, springs, gravity, attachments
• Dynamics exists to enhance UI / UX
KJ-CODE Since 2010
UIKit DynamicsAnimator
View View View View
Collision Bounce
Gravity Collision
KJ-CODE Since 2010
• UIAttachmentBehavior
• UICollosionBehavior
• UIGravityBehavior
• UIPushBehavior
• UISnapBehavior
• UIDynamicItemBehavior
UIDynamicBehavior
KJ-CODE Since 2010
D E M O
KJ-CODE Since 2010
[newEvent getQuest];
KJ-CODE Since 2010
[newEvent release];
KJ-CODE Since 2010
cảm ơn谢谢
Thank You
감사합니다 ありがとうございます
KJ-CODE Since 2010