ios - How to relate objects which are subclassed from PFObject? -


i have 2 classes person , address. these 2 classes subclassed pfobject. how can make relation between these classes? below code:

person: @interface person : pfobject<pfsubclassing> @property(strong,nonatomic)nsstring *lastname;  address: @interface address : pfobject<pfsubclassing> @property(strong,nonatomic)person *person; @property(strong,nonatomic)nsstring *lastname; 

in address file, have done make relation shows me null value: both of them created singleton because wanted make relations.

address.person.lastname= person.lastname; 

please me how make relation. appreciated. thanks.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -