Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)addAction:(id)sender{
- [NSThread detachNewThreadSelector:@selector(addWait) toTarget:self withObject:nil];
- testAppDelegate *appdelegate = (testAppDelegate *)[[UIApplication sharedApplication] delegate];
- [appdelegate addAssign];
- NSInteger count = appdelegate.assignONE.count;
- appdelegate.isNew = YES;
- AssignObject *n_assign = (AssignObject *)[appdelegate.assignONE objectAtIndex:( count - 1 )];
- [self inspectItem:n_assign];
- }
- -(void)addWait{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- [self.view addSubview:waitingView];
- [pool release];
- [NSThread exit];
- }
Add Comment
Please, Sign In to add comment