• 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: Ron Lue-Sang <email@hidden>
  • Date: Tue, 1 Jul 2008 09:16:39 -0700


On Jun 30, 2008, at 10:25 AM, Owen Yamauchi wrote:

On Mon, Jun 30, 2008 at 7:27 AM, j o a r <email@hidden> wrote:
The thinking here is indeed that Xcode handles the creation of classes,
while IB handles instances of classes and their configuration.

IB can actually create classes. In the Identity inspector, after creating a generic NSObject, type in a class name that you want to create. Then you can add outlets and actions below. Once you're finished, File->Write Class Files... will create the .h and .m files (unfortunately it won't add them to your Xcode project, or at least I haven't found a way to make it do so).

This works fine for me. Is the nib already a part of your project? Is the little dot at the bottom left of the nib document window green?
When I do the "write class files" step and save it anywhere in my project directory, IB asks me if I want to add it to the project.





Owen
_______________________________________________

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


--------------------------
RONZILLA



_______________________________________________

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


  • Prev by Date: Re: NSDateComponents question
  • Next by Date: Re: PDFDocument subclass with an undo manager
  • Previous by thread: How to make the FileOwner of a nib file accessible globally in whole project
  • Next by thread: Re: PDFDocument subclass with an undo manager
  • Index(es):
    • Date
    • Thread