What does RELEASE_SAFELY mean and why does it not work in xcode4?
问题 what does RELEASE_SAFELY or RELEASE_CF_SAFELY mean? Ok, it's for releasing objects but why not use [obj release] ? Besides I tried to use it in xcode 4 but I am running into buid errors: Undefined symbols for architecture i386: "_RELEASE_SAFELY", referenced from: -[AdressBookModel search:] in AdressBookModel.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status Can I do just [obj release] instead? What would you consider? 回答1: RELEASE_SAFELY is not a function but