开发者

Saving feeds permanently in the iphone app

开发者 https://www.devze.com 2023-01-18 08:03 出处:网络
I want to make a favorites button in my tab bar controller which permanently saves that live feed in my app. the feed description is in text. So basically i want to make an array of thos开发者_开发百科

I want to make a favorites button in my tab bar controller which permanently saves that live feed in my app. the feed description is in text. So basically i want to make an array of thos开发者_开发百科e texts which are saved permanently in my favorites table view. How should I start with it. Do i have to make another class for it ?


If feed already stored in NSArray then just store in disk using - (BOOL)writeToFile:(NSString *)path atomically:(BOOL)flag

You can even load the data back using NSArray API.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号