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