Xcode/IB NIB files and Chipmunk
Posted: Sun Feb 12, 2012 6:51 pm
I'm developing a child's book using animated characters in views that turn into pages via UIPageViewController. Because of the complex nature of the characters I'm using IB and NIB files to layout these characters, with IBOutlets used to access those elements that I want to animate with joints, springs, etc.
The demos that come with Chipmunk tend to create the visual elements that get animated programmatically but for the complex set of characters I'm chartered to build I really need to use IB.
Should I be using NIBs and associated IBOutlets with Chipmunk, or is it better to pass on NIBS and gen elements to be managed by Chipmunk programmatically?
Does anyone have any demos/examples that layout elements (images) in NIB files and "manages" their behavior with Chipmunk?
[It would be really helpful if SimpleObjectiveChipmunk could be altered using a NIB for the UIButton it uses and
demonstrate how to perform the physics with the NIB button]
The demos that come with Chipmunk tend to create the visual elements that get animated programmatically but for the complex set of characters I'm chartered to build I really need to use IB.
Should I be using NIBs and associated IBOutlets with Chipmunk, or is it better to pass on NIBS and gen elements to be managed by Chipmunk programmatically?
Does anyone have any demos/examples that layout elements (images) in NIB files and "manages" their behavior with Chipmunk?
[It would be really helpful if SimpleObjectiveChipmunk could be altered using a NIB for the UIButton it uses and
demonstrate how to perform the physics with the NIB button]