📙Little explanation about PFObject Subclassing

Open
#742 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
ios, objective-c

Research direction

Start at the Subclasses section of the linked iOS Guide page and inspect the text around the sentence introducing the Armor displayName property. Restore the missing Objective-C example and expand the subsection with accurate subclassing guidance; the work is done when the example renders and the section clearly explains the supported approach.

Written by the indexing model from the issue text.

Description

docs:sdk-ios type:docs

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. 👏

Dominant language
SCSS
Stars
317
Forks
506
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from parse-community/docs

All issues in parse-community/docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.