swift - Save rss feed / swift2 / iOS -
i'm writing app blog. posts parsed xmlparser.
how can store posts on iphone don't need downloaded , parsed every time app started , more important app not stay blank if there no connection internet.
i know core data have use. how? thank help.
to resolve storage issue , offline availability of service can use
1. core data
2. sqlite database.
- so after parsing feeds, should insert them database. , when appear fetch records database , reload in tableview.
- on other hand when internet connection available make network call fetch new records server , insert/save them database , reload table again.
Comments
Post a Comment