Yes this is completely ok and correct. It probably just feels strange because you generally don't need to make lots of properties with CF types. If it is not toll-free bridged, you should be sure to use CFRelease in the dealloc method of your class.
Is ABAddressBookRef an acceptable type for a property?
-
07-10-2022 - |
문제
Is this syntax acceptable or is it not best practice?
@property ABAddressBookRef myAddressBook;
해결책
제휴하지 않습니다 StackOverflow