Hi all..
In my apps, i am having a book class with isbn,author,title, price all as data members.
I used properties for all to assign values. And i archived using code like below
result = [NSKeyedArchiver archiveRootObject:myBookObject
toFile
"/tmp/MapArchive"];
and the file is created at specified path, and also the myBookObject is having all the values for isbn,title,author and price...
But the object is not getting archived, means i cant find the values or fields in that file, which created...
Help me ASAP....
In my apps, i am having a book class with isbn,author,title, price all as data members.
I used properties for all to assign values. And i archived using code like below
result = [NSKeyedArchiver archiveRootObject:myBookObject
toFile
and the file is created at specified path, and also the myBookObject is having all the values for isbn,title,author and price...
But the object is not getting archived, means i cant find the values or fields in that file, which created...
Help me ASAP....