• 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: Newbie NSToolbar question? [RESOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie NSToolbar question? [RESOLVED]


  • Subject: Re: Newbie NSToolbar question? [RESOLVED]
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 20 Oct 2003 11:44:30 -0700

On Oct 20, 2003, at 7:20 AM, Mark Munz wrote:

Turns out, I had a typo in one of the named parameters:
ItemForItemIndentifier instead of itemForItemIdentifier
I guess it's one of the pitfalls of named parameters, you have to spell them
correctly. I wish there was a tool the help catch this. At least I know what
to look for first whenever I run across a similar situation.

Strictly speaking Obj-C does not have named parameters. All those words constitute the actual method name, so incorrect capitalisation is the same as misspelling a function name...

The best way to avoid this situation is usually to copy and paste the method name directly from the header file or documentation.

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Newbie NSToolbar question? [RESOLVED]
      • From: lbland <email@hidden>
References: 
 >Re: Newbie NSToolbar question? [RESOLVED] (From: Mark Munz <email@hidden>)

  • Prev by Date: Re: How to reproduce NSComboBox popup window behavior?
  • Next by Date: Making a table "fancy"
  • Previous by thread: Re: Newbie NSToolbar question? [RESOLVED]
  • Next by thread: Re: Newbie NSToolbar question? [RESOLVED]
  • Index(es):
    • Date
    • Thread