Suppose I am making an application that allows users to take short notes and record things. Is there any basic data on the iPhone OS too? Or how else would you save this data to your iPhone?
No. Core Data and Cocoa Bindings, as well as Objective-C's Garbage Collection is missing on the iPhone.
Update. As mentioned below, basic data is available with iPhone OS 3.0.
iPhone OS 3.0, Apple preview movie Core Data 3.0.
SQLite , . SQL , .
NSCoding NSArchiver.
, OmniDataObjects, Core Data-esque iPhone.
, SQLite. . NSDictionary NSArray -writeToFile ( xml) .
Marco
sqlite, plist XML iphone ( ).
// , plist xml.
- , sqlite.
if you continue working with sqlite, then I suggest you use FMDB - cocoa wrapper for sqlite, this saves you tons of duplicate code
Saving data on the iPhone is not much different - write the data to a file (for example, plist). As far as I know, there is no Core Core data.
Source: https://habr.com/ru/post/1704021/More articles:submitting data to the C API waiting for a file name - cThe disappearance of ruby ββstones - ruby ββ| fooobar.comCan I change the maximum pool size for connections, and what determines what I should install it on? - javaHow to read the external page title? - jqueryWhat is the most efficient string search method (read time)? (C #) - stringHttpContext.Current control equivalent in ASP.NET MVC - asp.net-mvcData Warehouse for Mac / iPhone Hybrid Application - iphoneHow do you deal with situations when you cannot use your preferred text editor? - editorCakePHP Guru: Course Cake Team Doesn't Find -app Path Right? - phpDo I need to have MS Word to create Word documents from asp.net? - c #All Articles