Can plist save model array?
PHP中文网
PHP中文网 2017-05-02 09:25:20
0
1
485

channelList is an array that holds the model.

[_channelList writeToFile:filePath atomically:YES];
    
NSArray *returnArray = [NSArray arrayWithContentsOfFile:filePath];

But I can’t get the value from plist.

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
过去多啦不再A梦

Model objects cannot be written to File directly and need to be serialized first before they can be saved

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template