Refactor app list to be non-static and sorted in alphabetical order

This commit is contained in:
Cameron Gutman
2015-07-11 01:28:52 -07:00
parent 4c95773131
commit 13e894e9a3
5 changed files with 31 additions and 19 deletions
+2
View File
@@ -17,6 +17,8 @@ NS_ASSUME_NONNULL_BEGIN
@property BOOL isRunning;
- (NSComparisonResult)compareName:(App *)other;
@end
NS_ASSUME_NONNULL_END
+4
View File
@@ -13,4 +13,8 @@
@synthesize isRunning;
- (NSComparisonResult)compareName:(App *)other {
return [self.name caseInsensitiveCompare:other.name];
}
@end