¡@

Home 

2014/10/15 ¤U¤È 10:05:06

iphone Programming Glossary: classobject

Converting a NSObject into NSData

http://stackoverflow.com/questions/1659922/converting-a-nsobject-into-nsdata

object of that particular class into NSData as follows NSData dataOnObject NSKeyedArchiver archivedDataWithRootObject classObject but it gives out exception stating that classObject encodeWithCoder unrecognized selector sent to instance .. I have also.. NSData dataOnObject NSKeyedArchiver archivedDataWithRootObject classObject but it gives out exception stating that classObject encodeWithCoder unrecognized selector sent to instance .. I have also added the object to a newly created array as NSMutableArray.. I have also added the object to a newly created array as NSMutableArray wrapperedData NSMutableArray arrayWithObject classObject NSData dataOnObject NSKeyedArchiver archivedDataWithRootObject value But still its giving out exception. So I need to extract..