• 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
Re: Using CFHash to tell if a CFTypeRef has changed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Using CFHash to tell if a CFTypeRef has changed? (From: Dave <email@hidden>)
 >Re: Using CFHash to tell if a CFTypeRef has changed? (From: Jens Alfke <email@hidden>)
 >Re: Using CFHash to tell if a CFTypeRef has changed? (From: Jens Alfke <email@hidden>)
 >Re: Using CFHash to tell if a CFTypeRef has changed? (From: Dave <email@hidden>)

  • Prev by Date: Re: Panes vs. Separate Windows
  • Next by Date: Re: Panes vs. Separate Windows
  • Previous by thread: Re: Using CFHash to tell if a CFTypeRef has changed?
  • Next by thread: Re: Using CFHash to tell if a CFTypeRef has changed?
  • Index(es):
    • Date
    • Thread