Revision: 19223
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 18, 2009 08:52 by gerhardsletten
Initial Code
@interface PersonTableViewController : UITableViewController <AddPerson> { NSOperationQueue *queue; } @end @implementation PersonTableViewController - (void)addPerson:(NSString *)username { NSInvocationOperation *operation = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(addPersonInBackground:) object:username]; [queue addOperation:operation]; [operation release]; } @end
Initial URL
Initial Description
Initial Title
How to use NSOperationQueue
Initial Tags
Initial Language
Objective C