Re: [NSPlaceholderDictionary initWithObjects:forKeys:]
Re: [NSPlaceholderDictionary initWithObjects:forKeys:]
- Subject: Re: [NSPlaceholderDictionary initWithObjects:forKeys:]
- From: Joannou Ng <email@hidden>
- Date: Sat, 3 Jan 2004 00:03:07 -0500
Hi all,
After a couple breakpoints here and there, I realized it's nothing to
do with the controller layer. :p
I was too quick to latch on to the word 'placeholder' and thought it
was something to do with the bindings I configured. Turns out, I left
out one object for my call to NSDictionary's
dictionaryWithObjects:forKeys:, and NSPlaceholderDictionary is just a
private subclass of the NSDictionary class cluster.
Mark of an amateur stamped all over forehead. :)
Cheers, Joannou.
Failure isn't the falling down, it's the not getting up again. -
Theodore Allan Morris
On Jan 2, 2004, at 10:09 PM, Joannou Ng wrote:
Scott,
I have no idea what NSPlaceholderDictionary is? The closest thing I
can find is the NSPlaceholders protocol:
file:///Developer/Documentation/Cocoa/Reference/ApplicationKit/
ObjC_classic/Protocols/NSPlaceholders.html
My wild guess would be that the placeholders for my 6 text fields are
put in an NSPlaceholderDictionary by IB when I configure the bindings
in the nib.
Nope, doesn't look like it's out of sync. And yes, they are fields.
Thanks for the quick reply!
Cheers, Joannou.
Get into something dumb, deep into it. You'll find the greatest
wisdom. - Jerry Seinfeld
On Jan 2, 2004, at 9:46 PM, Scott Anguish wrote:
On Jan 2, 2004, at 9:19 PM, Joannou Ng wrote:
-[NSPlaceholderDictionary initWithObjects:forKeys:]: number of
objects (6) not equal to number of keys (7)
what is NSPlaceholderDictionary??
if I had to guess (and it's a wild one), I'd say that the nib is
likely out of sync... make a copy of it (since it'd be useful to see
as a bug!) and then unbind and rebind those text fields. (are they
fields? or NSForm?)
then if you can file a bug with the busted nib, it'd be useful.
thanks
scott
_______________________________________________
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.
_______________________________________________
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.