Re: Dictionaries in IB
Re: Dictionaries in IB
- Subject: Re: Dictionaries in IB
- From: Chris Purcell <email@hidden>
- Date: Sat, 12 Jul 2003 12:38:57 +0100
Has anyone tried making dictionaries in recent copies of IB? In my
version, instantiating two copies of NSDictionary, saving the nib
and reloading it is sufficient for IB to start complaining that:
"An inconsistency in the document was found and repaired. Please
save the document"
Its probably because the dictionary is changing types after being
re-created and IB is getting very confused. Look at your console when
you open this file what is displayed???
*shakes head* I meant to do this before, no idea why I forgot.
I've had the exact same problem. In my particular case, I have 4
dicts in the nib. Here's what I get:
2003-07-12 00:38:07.558 Interface Builder[1736] **** verification
error ****: {} appears twice in object table.
2003-07-12 00:38:07.558 Interface Builder[1736] **** verification
error ****: {} appears twice in object table.
2003-07-12 00:38:07.558 Interface Builder[1736] **** verification
error ****: {} appears twice in object table.
Daryn
That's roughly what I get in my Console, which helped me "fix" the
situation, albeit with a hack.
First, it was suggested I switch to pre-10.2 nib format. This makes no
difference: the problem is IB's new internal consistency checking.
(Thanks anyway.)
However, having seen this error, I added two different values
("FirstDictionary" and "SecondDictionary") to my two dictionaries
(under the key "Name"), and this solved it. Obviously IB is now
incapable of comprehending having multiple copies of the same
dictionary.
Thanks.
Kritter out
_______________________________________________
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.