Pergunta

Is this syntax acceptable or is it not best practice?

@property ABAddressBookRef myAddressBook;
Foi útil?

Solução

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 em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top