Interface Builder connection confusion (Xcode 3.0)
Interface Builder connection confusion (Xcode 3.0)
- Subject: Interface Builder connection confusion (Xcode 3.0)
- From: ghe <email@hidden>
- Date: Fri, 7 Dec 2007 12:48:06 -0700
It looks like all views defined in Interface Builder have a
unconnected 'controller' outlet in the connections pane, but not in
the identity pane. But if I make the connection to my controller
object (one I defined myself, subclass of NSObject) and try to use it,
I'm told it's undeclared.
If I declare an 'IBOutlet id controller' in the .h, I see 2 controller
outlets in connections, and one shows up in identity. If I connect
either of them, both are connected by IB, and the variable can be used.
If I call it qwcontroller, only one is connected at a time.
I can get things to work, I think, but I don't understand what's going
on in IB. And I suspect something's going to turn up broken down the
road.
Can someone tell me what's going on? Have I declared something I
didn't know about somewhere? Where did that first one come from? What
is it, and why can't I get to it?
--
Glenn English
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden