• 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: Creating AppControllers in InterfaceBuilder 3.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating AppControllers in InterfaceBuilder 3.1


  • Subject: Re: Creating AppControllers in InterfaceBuilder 3.1
  • From: j o a r <email@hidden>
  • Date: Mon, 30 Jun 2008 07:27:24 -0700


On Jun 30, 2008, at 7:14 AM, email@hidden wrote:

I'm writing my first project in Leopard and can't figure out how to accomplish the old
"Subclass NSObject/Generate Files/Instantiate" series of steps in Interface Builder 3.1.


What you typically do is to create the subclass in Xcode, and not in IB. Once you've done that, switch back to IB and drag in a generic NSObject from the Library (it looks like a blue cube). Hit Cmd+6 to open the identity inspector, and type the name of the class that you want to instantiate.



On Jun 30, 2008, at 7:20 AM, Tommy Nordgren wrote:

You create the files from an XCode file template, and drag the header file into IB


The thinking here is indeed that Xcode handles the creation of classes, while IB handles instances of classes and their configuration. The last part of that sentence is no longer required though: Xcode and IB are now on better speaking terms, so you don't have to manually tell IB to read header files for it to learn about changes to classes in the project, it stays up to date automatically.


j o a r


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Creating AppControllers in InterfaceBuilder 3.1
      • From: "Owen Yamauchi" <email@hidden>
References: 
 >Creating AppControllers in InterfaceBuilder 3.1 (From: email@hidden)

  • Prev by Date: Re: initWithFrame deosn't get called
  • Next by Date: Re: Creating AppControllers in InterfaceBuilder 3.1
  • Previous by thread: Re: Creating AppControllers in InterfaceBuilder 3.1
  • Next by thread: Re: Creating AppControllers in InterfaceBuilder 3.1
  • Index(es):
    • Date
    • Thread