Skip navigation.
 
mlRe: Nib establishConnection Question
FROM : matt neuburg
DATE : Sun Dec 08 15:36:58 2002

On 12/6/02 at roughly 11:09 AM, thus spake <email_removed>:

>From: Henri Lamiraux <<email_removed>>
>
>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.

matt neuburg, phd = <email_removed>, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNib establishConnection Question Ian Gillespie Dec 6, 02:46
mlRe: Nib establishConnection Question Henri Lamiraux Dec 6, 16:39
mlRe: Nib establishConnection Question Ian Gillespie Dec 6, 17:52
mlRe: Nib establishConnection Question Henri Lamiraux Dec 6, 18:16
mlRe: Nib establishConnection Question Ian Gillespie Dec 7, 21:02
mlRe: Nib establishConnection Question matt neuburg Dec 8, 15:36
mlRe: Nib establishConnection Question matt neuburg Dec 8, 16:20
mlRe: Nib establishConnection Question Vince DeMarco Dec 8, 21:28
mlRe: Nib establishConnection Question Jim Correia Dec 8, 21:54
mlRe: Nib establishConnection Question matt neuburg Dec 9, 02:03
mlRe: Nib establishConnection Question Henri Lamiraux Dec 9, 05:12
mlRe: Nib establishConnection Question Jim Correia Dec 9, 05:27
mlRe: Nib establishConnection Question Vince DeMarco Dec 9, 18:06
mlRe: Nib establishConnection Question Steve Mykytyn Dec 9, 18:36
mlRe: Nib establishConnection Question Roarke Lynch Dec 9, 21:07
mlRe: Nib establishConnection Question matt neuburg Dec 11, 20:51