/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@interface PersonTableViewController : UITableViewController <AddPerson> { NSOperationQueue *queue; } @end @implementation PersonTableViewController NSInvocationOperation *operation = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(addPersonInBackground:) object:username]; [queue addOperation:operation]; [operation release]; } @end