• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using CFHash to tell if a CFTypeRef has changed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Using CFHash to tell if a CFTypeRef has changed?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: enum as String
  • Next by Date: Re: Using CFHash to tell if a CFTypeRef has changed?
  • Previous by thread: Re: Nullability Question
  • Next by thread: Re: Using CFHash to tell if a CFTypeRef has changed?
  • Index(es):
    • Date
    • Thread