This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In this challenge, we require a standalone project that will test your abilities with CoreAnimation as well as basic KVC & KVO skills. You are free to use any resources you’d like to make use of. | |
# Project specification | |
The project should be a universal application (iPhone & iPad) that is a showcase of a couple of animations. The idea is to have a way for the user of the application to select an animation, and a preview of that animation will be displayed continuously forever. You can assume that the number of animations is exactly two. No more, no less. | |
# Animation Details | |
The animations must utilize CAAnimation subclasses only. For simplicity, you may not use CAAnimation delegation methods “animationDidStart” and “animationDidStop”. The animating object must observe a model object’s changes using KVO. The model object is a simple NSObject subclass with some properties that are needed by the animation. Add an NSTimer in that class to vary the values from time to time using random or predetermined values fr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "XYZAppDelegate.h" | |
@interface XYZParent : NSObject | |
@property (atomic) NSMutableArray *children; | |
@end | |
@implementation XYZParent | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface XYZWaitController : UIViewController | |
@property (strong, nonatomic) UILabel *alert; | |
@end | |
@implementation XYZWaitController | |
- (void)viewDidLoad | |
{ |