Pregunta

Is this syntax acceptable or is it not best practice?

@property ABAddressBookRef myAddressBook;
¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top