• 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
Re: getting a new class to appear in Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting a new class to appear in Interface Builder


  • Subject: Re: getting a new class to appear in Interface Builder
  • From: "Jonathan del Strother" <email@hidden>
  • Date: Wed, 9 Apr 2008 11:29:15 +0100

On Wed, Apr 9, 2008 at 11:17 AM, Roland Silver <email@hidden> wrote:
>
>
> In Interface Builder, I've added a File>Run menu item to the mainMenu.nib
> file for my project, and I've added a Controller class to my project itself
> (files Controller.h and Controller.m) having a Controller>runMIAction
> action. What I want to do is connect the Run menu item to that action.
>
> InterfaceBuilder has a File>Read Class Files... and Synchronize With Xcode
> menu items, but after selecting them (with Controller.h selected for Read
> Class Files), I don't see the Controller class being added to the Nib file,
> nor do I see the Controller>runMIAction action in any of the Document Info
> windows for any of File's Owner, First Responder, Application, MainMenu, or
> Window.
>
> How do I get the Controller class to appear in the Nib file, or how
> otherwise do I establish the Run -> runMIAction connection?
>


Try creating a new NSObject from Interface Builder's Library pane,
select the new object, hit ⌘6 to see its Object Identity, and change
the Class Identity from NSObject to Controller.  If Interface Builder
has discovered your Controller class, it ought to autocomplete
'Controller' as you're typing it in.
 _______________________________________________
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: getting a new class to appear in Interface Builder
      • From: Roland Silver <email@hidden>
References: 
 >getting a new class to appear in Interface Builder (From: Roland Silver <email@hidden>)

  • Prev by Date: getting a new class to appear in Interface Builder
  • Next by Date: Re: getting a new class to appear in Interface Builder
  • Previous by thread: getting a new class to appear in Interface Builder
  • Next by thread: Re: getting a new class to appear in Interface Builder
  • Index(es):
    • Date
    • Thread