Friday, September 14, 2012

Objective-C Callbacks


Two classes, one needs to call a method (callingClass) on another (thatClass). Call the method (getList) from the callingClass with the @selector as the callbackMethod which will "do stuff" upon call back. Once getList finishes, callbackMethod will then be called. The callbackMethod will deal with whatever is returned from getList.

No comments:

Post a Comment

Blog Archive