Store objects on iOS – Best Solution?

I am building an application for a blog where users can save their favorite posts.

When they do, I want to store my objects , Which contains: post URL, title and image URL.

Should I go to UserDefaults (formerly NSUserDefaults) or start using Core Data immediately?

Should I go for User Defaults or start with Core Data right away?

There are more possibilities here: you can also use ordinary files or plists, or use sqlite without Core Data. The answer depends on the number of items you plan to store:

>If you plan to store 1 to 20 items, the user defaults will work fine> If you plan to store 20 to 200 items, a normal file or plist will work> If you plan to store 200 items, please select Core Data or sqlite, depending on how comfortable you are using one of these technologies.

I am building an application for blogs where users can save their favorite posts.

When they do this, I want to store my object, which contains: post URL, title and image URL.

I should go to UserDefaults (formerly NSUserDefaults ) Or start using Core Data immediately?

Should I go for User Defaults or start with Core Data right away?

here There are more possibilities: you can also use ordinary files or plists, or use sqlite without Core Data. The answer depends on the number of items you plan to store:

>If you plan to store 1 to 20 Project, the user defaults can work normally> If you plan to store 20 to 200 items, a normal file or plist will work> If you plan to store 200 items, please choose Core Data or sqlite, depending on which one you use The comfort level of this technology.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3941 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.