¡@

Home 

2014/10/15 ¤U¤È 10:13:11

iphone Programming Glossary: receivedobjects

Convert an object into Json using SBJson or other JSON library

http://stackoverflow.com/questions/6844571/convert-an-object-into-json-using-sbjson-or-other-json-library

receiverLastName @property nonatomic retain NSString receiverLastName2 id proxyForJson int parseResponse NSDictionary receivedObjects In the implementation file id proxyForJson return NSDictionary dictionaryWithObjectsAndKeys receiverFirstName @ ReceiverFirstName.. get the object from the JSON string you have to write a parseResponse method like this int parseResponse NSDictionary receivedObjects self.receiverFirstName NSString receivedObjects objectForKey @ ReceiverFirstName self.receiverLastName NSString receivedObjects.. write a parseResponse method like this int parseResponse NSDictionary receivedObjects self.receiverFirstName NSString receivedObjects objectForKey @ ReceiverFirstName self.receiverLastName NSString receivedObjects objectForKey @ ReceiverLastName middleInitial..