docs icon indicating copy to clipboard operation
docs copied to clipboard

📙Little explanation about PFObject Subclassing

Open omarojo opened this issue 5 years ago • 0 comments

There is a section regarding how to do Subclassing, it appears to have missing code example. https://docs.parseplatform.org/ios/guide/#subclasses

PFObject supports dynamic synthesizers just like NSManagedObject. Declare a property as you normally would, but use @dynamic rather than @synthesize in your .m file. The following example creates a displayName property in the Armor class:

And then.. there is no code block. Also, it wouldn't hurt extending a little bit more on how to do Subclassing properly, Stackoverflow if filled with lot's of different implementations and hacks.

Thanks you for maintaining the project. 👏

omarojo avatar Jun 17 '20 00:06 omarojo