• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Interface Builder connection confusion (Xcode 3.0)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Interface Builder connection confusion (Xcode 3.0)
      • From: Rob Keniger <email@hidden>
  • Prev by Date: Re: String syntax coloring is a mess
  • Next by Date: Re: String syntax coloring is a mess
  • Previous by thread: Re: String syntax coloring is a mess
  • Next by thread: Re: Interface Builder connection confusion (Xcode 3.0)
  • Index(es):
    • Date
    • Thread