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 (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