Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSArray *newArr = [mainArray mutableCopy];
- [[newArr objectAtIndex:indexpath.section] replaceObjectAtIndex:indexpath.row withObject:@""];
- [[mainArray objectAtIndex:indexpath.section] removeObjectAtIndex:indexpath.row];
- objAppDelegate.arrayProfile = [newArr objectAtIndex:2];
- NSArray *newArr = [mainArray copy];
- NSMutableArray *newArr = [[NSMutableArray alloc] initWithCapacity:mainArray.count];
- for (NSObject* item in mainArray) {
- [newArr addObject:[item copy]];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement