Last active
December 14, 2015 20:39
-
-
Save jyaunches/5145105 to your computer and use it in GitHub Desktop.
Using accessors defined with property declaration.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SomeObject *myObj = [[SomeObject alloc] init]; | |
[myObj setContainedObject:[[SomeOtherObject alloc] init]]; | |
SomeOtherObject *otherObject = myObj.containedObject; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment