Perfect!. Thanks Joar

 -------------- Original message ----------------------
From: j o a r <[EMAIL PROTECTED]>
> 
> On Jun 30, 2008, at 7:14 AM, [EMAIL PROTECTED] 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to