Using CFHash to tell if a CFTypeRef has changed?
Using CFHash to tell if a CFTypeRef has changed?
- Subject: Using CFHash to tell if a CFTypeRef has changed?
- From: Dave <email@hidden>
- Date: Mon, 11 Jan 2016 17:48:54 +0000
Hi,
I have an object that is a wrapper around a CFTypeRef. I’d like to be able to check if this object has changed, can I use the safely use the CFHash() function to do this.
e.g. When the Wrapper Object is created, do a CFHash() on the reference and store it as a property of the wrapper class, then to check if it changed or not, compare the saved CFHash value with the current CFHash value if if different it has changed.
Thanks in Advance.
All the Best
Dave
_______________________________________________
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