Re: Using CFHash to tell if a CFTypeRef has changed?
Re: Using CFHash to tell if a CFTypeRef has changed?
- Subject: Re: Using CFHash to tell if a CFTypeRef has changed?
- From: "Gary L. Wade" <email@hidden>
- Date: Mon, 11 Jan 2016 12:03:12 -0800
It depends on what the actual object is. CFTypeRef is the (void*) or (id) equivalent for CoreFoundation types, so if you know what it is, check its documentation for notifications or KVO options. If it's an immutable object (like a CFStringRef,NSString), the object's data will never change.
--
Gary L. Wade (Sent from my iPhone)
http://www.garywade.com/
> On Jan 11, 2016, at 10:18 AM, Dave <email@hidden> wrote:
>
> Any one have any other techniques for telling if a CFTypeRef has changed?
_______________________________________________
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