Re: Nib establishConnection Question
Re: Nib establishConnection Question
- Subject: Re: Nib establishConnection Question
- From: Vince DeMarco <email@hidden>
- Date: Sun, 8 Dec 2002 12:28:14 -0800
On Sunday, December 8, 2002, at 06:36 AM, matt neuburg wrote:
On 12/6/02 at roughly 11:09 AM, thus spake
email@hidden:
From: Henri Lamiraux <email@hidden>
We are investigating what seems to be a problem in the keyed archiving
code that causes IB class swapping to fail. Switch your nib to the old
nib format (pre-10.2) and see if it fixes your problem.
On Thursday, December 5, 2002, at 05:46 PM, Ian Gillespie wrote:
I have a document based app with a tableview in the
document window. I subclassed NSTableView and
connected the tableview object to my NSTableView
subclass (MySubClassedTableView ) in IB. I overrode
the some methods in my subclass (basically just
keyDown:) in PB and everything works fine... Except
for everyone once in a while I save a file and go to
File>Open Recent and select a file from there and I
get a console error: "MySubClassedTableView
establishConnection: selector not recognized" and the
window does not open. I will try again and then it
will work. It is like there is a "weak" connection or
something. Any ideas how to fix this?
I'm having the same problem in a different variation. I have two
checkboxes of a type YNCheckBox, a subclass of NSButton. These are set
as YNCheckBox in the Custom Class panel in the nib. Every once in a
while, trying to open my window in the running app, I get two messages
(one for each checkbox, I assume), " *** -[YNCheckBox copyWithZone:]:
selector not recognized", and the window fails to open. I try again
and it opens.
I find this scary. I'm trying to go final with this app, and random
errors like this are highly problematic at such a moment... :) m.
There are bugs with the Custom Class stuff in IB and the new Keyed
archiver. The easiest solution is to not use Keyed archiving until this
bug gets fixed in Foundation.
vince
_______________________________________________
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.