> On Jan 11, 2016, at 10:18 AM, Dave <d...@looktowindward.com> wrote:
> 
> Any one have any other techniques for telling if a CFTypeRef has changed?

No, in general there is no way. You’d have to make a copy of the object, keep 
that around, and then later call CFEqual on the current object and the copy … 
except that (a) there is no generic CFCopy function, and (b) if there were it 
would only make a shallow copy, so you wouldn’t be able to detect changes to 
nested objects (i.e. an item in a CFArray changing.)

What’s the bigger picture? What do you want to use this for?

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to