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 -2
View File
@@ -28,8 +28,8 @@ static const int MAX_REQUEST_COUNT = 4;
return self;
}
- (void) retrieveAssets:(NSArray*)appList fromHost:(Host*)host {
for (App* app in appList) {
- (void) retrieveAssetsFromHost:(Host*)host {
for (App* app in host.appList) {
if (app.image == nil) {
AppAssetRetriever* retriever = [[AppAssetRetriever alloc] init];
retriever.app = app;