xcode - how to get NSObject values -


i have nsobject 3 diferents fields :

myobject : {  title : bar4343; iduser : 4; type : class1;  } 

i try value doing

str = [myobject ojectforkey:@"title"]; // try value nsstring 

i error :

no visible @interface 'nsobject' declares de selector 'objectforkey'

please, what's wrong, can me ?

thanks

i think need change code :

myobject *myobject;  // add code object  // value : str = myobject.title; 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -