remove hardcoded array capacity

This commit is contained in:
Bi11 committed 2017-01-11 02:07:48 +08:00
1 parent 6ca4b05cad
commit c059dc8ae8
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@
return self;
indentifier = [NSString stringWithFormat:@"%@.%@", SUBundleIdentifier, anIdentifier];
touchBarItems = [NSMutableArray arrayWithCapacity:6];
touchBarItems = [NSMutableArray array];
touchBar = [[NSTouchBar alloc] init];
touchBar.defaultItemIdentifiers = @[indentifier,];