Skip to content

Instantly share code, notes, and snippets.

@dmaclach
Last active December 10, 2018 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmaclach/8f0e1d6a57f73ad63d047f3a39c5d02a to your computer and use it in GitHub Desktop.
Save dmaclach/8f0e1d6a57f73ad63d047f3a39c5d02a to your computer and use it in GitHub Desktop.
Objective C property encodings
code meaning
R read-only
C by-copy
& by-reference
D dynamic
G getter (followed by selector name)
S setter (followed by selector name)
V instance variable (followed by variable name)
T type encoding (followed by old-style type encoding)
W weak
P strong
N non-atomic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment