February 2014
Beginner
336 pages
8h 42m
English
At the end of each chapter, there were some exercises to help you determine if you understood the material in that chapter correctly. Here are the answers to those questions.
.h file extension and the implementation file with a .m file extension.NSObject class.ChapterExercise class with a single method named writeAnswer, which takes no arguments and returns nothing:
@interface ChapterExercise : NSObject
- (void)writeAnswer;
@endChapterExercise class:
ChapterExercise *anInstance = [[ChapterExercise alloc] init];retain keyword increments the reference count, whereas the release keyword decrements it.strong keyword indicates the class owns the instance of the object, and it will not be deallocated as long as the strong ...Read now
Unlock full access