Re: Newbie NSToolbar question? [RESOLVED]
Re: Newbie NSToolbar question? [RESOLVED]
- Subject: Re: Newbie NSToolbar question? [RESOLVED]
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 20 Oct 2003 12:40:22 -0700
On Oct 20, 2003, at 12:30 PM, lbland wrote:
On Monday, October 20, 2003, at 02:44 PM, mmalcolm crawford 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.
... look at the compiler warnings.
Umm, in the case of delegate methods/informal protocols, there will be
no compiler warnings...
The best way to avoid this situation is usually to copy and paste the
method name directly from the header file or documentation.
... or use more exacting typing so the compiler can help with more
warnings.
Sage advice, but again it would not have helped in this case...
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.