November 2013
Intermediate to advanced
576 pages
19h 3m
English
Dynamic items have a number of default properties set on them when they are created, and these properties can be heavily configured to customize their reactions to the physics engine. The sample app (shown in Figure 1.4) demonstrates modifying these properties for one image view while leaving the defaults in place for the other image.
Figure 1.4 Modifying properties on dynamic items to create a unique physics reaction applied under identical forces.
To modify the properties on an object, create a new UIDynamicItemBehavior initialized with the views that the properties should be applied to. The result is that one object acts like ...
Read now
Unlock full access