• 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 CFMutableDictionaryRef (Resolved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using CFMutableDictionaryRef (Resolved)


  • Subject: Re: Using CFMutableDictionaryRef (Resolved)
  • From: Greg Guerin <email@hidden>
  • Date: Sun, 28 Feb 2010 19:00:46 -0700

Alexander Hartner wrote:

I am still a little confused why the pointer addresses are different when storing and accessing the objects from the dictionary though.


Because you're passing the address *of* the local variable, not the address *in* the local variable. Remove the leading &'s.

  -- GG

_______________________________________________

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


  • Prev by Date: Re: Using CFMutableDictionaryRef (Resolved)
  • Next by Date: NSNull vs nil in NSManagedObject setValue: v forKey: k
  • Previous by thread: Core Data - synchronize ManagedObjectContexts - save date
  • Next by thread: NSNull vs nil in NSManagedObject setValue: v forKey: k
  • Index(es):
    • Date
    • Thread