I want to save objects of type AnyObject to sqlite3 database. Is it possible? Maybe using blob?
Asked
Active
Viewed 51 times
0
-
You have to convert to respective type like as String, Int, Double etc. after that you have to save that object. – Ashish Kakkad Oct 24 '15 at 06:29
-
You want to save objective-c object into sqllite3 db right?in that case you can try serializing the object and save it in table column and deserialize it to recreate object. http://stackoverflow.com/questions/26820720/automatic-json-serialization-and-deserialization-of-objects-in-swift – Deshan Oct 24 '15 at 07:00