unconnected TextFields
unconnected TextFields
- Subject: unconnected TextFields
- From: Robert Clair <email@hidden>
- Date: Thu, 23 Oct 2003 17:11:47 -0400
I have an (abstract) class which encapsulates accessory views. It
handles loading the nib and it has an outlet that gets a connection to
the actual view. All my views that will be programatically placed in
windows or panels inherit from it. I have a number of these and up to
this point all has worked well. I made a new one today for a "progress
view". The actual view has only three widgets: 1 NSProgressIndicator
and 2 NSTextFields for labels. The textfields are given outlets and
connected up in IB because I want to be able to change the text (put in
a filename, say what is being waited for). My problem is that the
textfields are somehow not being connected. When I stop in awakeFromNib
the progress indicator and the view are connected (and work properly)
but the outlets for the textfields are set to nil. I have checked and
rechecked the connections. I have broken and remade them. I rebuilt the
nib from scratch in IB. Nothing. My other accessory views have labels
that are set up the same way (mostly ones that indicate units and are
changed according to whether the user wants inches or cm) and work. I
opened a working and the non-working ones side by side in IB and I
don't see any difference. It would make sense if none of the widgets
were connected but only some of them...
Has anyone experienced anything like this ?
Thanks,
Bob Clair
_______________________________________________
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.