Core Foundation types as properties
Core Foundation types as properties
- Subject: Core Foundation types as properties
- From: Graham Cox <email@hidden>
- Date: Sun, 29 Mar 2015 14:16:36 +1100
Just a general question:
What do people do about properties that are CF type objects (both ARC and non-ARC)? Typically I want these retained, but that doesn't work, at least in non-ARC code, because CF types aren't recognised as being retainable. So I declare them as 'assign' but usually leave a comment that it's really copied, CFRetain'd, etc. (and of course I have to write the setter methods myself to make that true). Is that my only option? It would be nice if this were better supported.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden