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
Post a Comment