equal
deleted
inserted
replaced
76 } |
76 } |
77 |
77 |
78 -(void) addScheme:(id) sender { |
78 -(void) addScheme:(id) sender { |
79 NSString *fileName = [[NSString alloc] initWithFormat:@"Scheme %u.plist", [self.listOfSchemes count]]; |
79 NSString *fileName = [[NSString alloc] initWithFormat:@"Scheme %u.plist", [self.listOfSchemes count]]; |
80 |
80 |
81 createSchemeNamed([fileName stringByDeletingPathExtension]); |
81 createSchemeNamed([fileName stringByDeletingPathExtension], 0); |
82 |
82 |
83 [self.listOfSchemes addObject:fileName]; |
83 [self.listOfSchemes addObject:fileName]; |
84 |
84 |
85 // order the array alphabetically, so schemes will keep their position |
85 // order the array alphabetically, so schemes will keep their position |
86 [self.listOfSchemes sortUsingSelector:@selector(compare:)]; |
86 [self.listOfSchemes sortUsingSelector:@selector(compare:)]; |