November 2013
Beginner
592 pages
17h 49m
English
Very few changes are needed for this class. Follow these steps:
1. In the .h file, remove all references to ViewCarProtocol and delete the delegate declaration.
2. Add a declaration for the nextOrPrevious: block property:
@property (copy, nonatomic) void (^nextOrPreviousCar)(BOOL isNext);
3. In the .m file, use the new block in swipeCarRight: and swipeCarLeft:. Each call looks like this:
self.nextOrPreviousCar(<BooleanArgument>);
Replace BooleanArgument with either YES or NO, depending on the method.
All that remains is to update the iPad’s main car menu.
Read now
Unlock full access