Created
August 13, 2014 10:44
-
-
Save luca-bernardi/4e0a8e6228f2c7241559 to your computer and use it in GitHub Desktop.
objc_setProperty_nonatomic_copy disassembled
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
void objc_setProperty_nonatomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset) | |
{ | |
temp = [newValue copyWithZone:NULL]; | |
oldValue = *(self + offset); | |
*(sef + offset) = temp; | |
_objc_release(oldValue); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment