Re: Creating AppControllers in InterfaceBuilder 3.1
Re: Creating AppControllers in InterfaceBuilder 3.1
- Subject: Re: Creating AppControllers in InterfaceBuilder 3.1
- From: email@hidden
- Date: Mon, 30 Jun 2008 14:31:53 +0000
Perfect!. Thanks Joar
-------------- Original message ----------------------
From: j o a r <email@hidden>
>
> 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