A question on how to Get data from plist & how should it be layout

后端 未结 4 1000
清歌不尽
清歌不尽 2020-12-21 20:38

This is a follow up question on my first queries regarding retrieving data on plist. Right now i have manage to detect users touches made on my view with random image call o

4条回答
  •  难免孤独
    2020-12-21 21:27

    Try this:

    -(void)add:(NSRunningApplication *) app { 
    if ([self contains:app]) return; 
    [self.apps addObject:app.localizedName]; 
     [self.apps writeToFile:self.dataFile atomically:YES];
    }
    

提交回复
热议问题