• 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: [NSMutableDictionary setObject:forKey:] problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSMutableDictionary setObject:forKey:] problem


  • Subject: Re: [NSMutableDictionary setObject:forKey:] problem
  • From: Sherm Pendley <email@hidden>
  • Date: Wed, 19 Oct 2005 22:34:02 -0400

On Oct 19, 2005, at 10:15 PM, Joachim wrote:

On 19-Oct-05, at 3:15 PM, m wrote:

"@selector(objectForKey)" should be "@selector (objectForKey:)" (note the colon; this is a common error beginners make)

Funny enough, I couldn't remember this call, but remembered Will Shipley had posted a snippet on his blog. And I took the code from there. Notice the missing colons in his calls - he's obviously a beginner ;-)


http://wilshipley.com/blog/2005/10/pimp-my-code-interlude-free- code.html

The selectors on that page are correct. Neither -length nor -count takes an argument.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [NSMutableDictionary setObject:forKey:] problem
      • From: Joachim <email@hidden>
References: 
 >[NSMutableDictionary setObject:forKey:] problem (From: Joachim <email@hidden>)
 >Re: [NSMutableDictionary setObject:forKey:] problem (From: m <email@hidden>)
 >Re: [NSMutableDictionary setObject:forKey:] problem (From: Joachim <email@hidden>)

  • Prev by Date: Re: [NSMutableDictionary setObject:forKey:] problem
  • Next by Date: Re: [NSMutableDictionary setObject:forKey:] problem
  • Previous by thread: Re: [NSMutableDictionary setObject:forKey:] problem
  • Next by thread: Re: [NSMutableDictionary setObject:forKey:] problem
  • Index(es):
    • Date
    • Thread