• 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
How to add classes to Xcode 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to add classes to Xcode 3.0


  • Subject: How to add classes to Xcode 3.0
  • From: Tom Hohensee <email@hidden>
  • Date: Wed, 12 Dec 2007 13:19:29 -0600

Stephen
Here is a quick guide. The current apple guide titled Cocoa Application Tutorial has been updated to reflect the changes in Xcode 3.0.


1. In Xcode go the FILE -->New File.
2. Select Objective C class. this will create the implementation and the header file (make sure the create header file is checked in the dialog box).
3. Then go to Interface Builder and go to FILE-->Read Class File. navigate the directory structure until you find the header file you created in your project. This is the same as instantiating the class in earlier xcode versions
4. Then in Interface builder go to the library and drag an Object (blue cube) to the MainMenu.nib window. Then with the object cube still selected go to the inspector window and find the contoller identity tab (the icon is a i with a circle around it. change the class to the class you created and change the name to the class you created (without the ending .h or .m).
5. Proceed as normal from there


P.S. Again this informationcan be found in the recent Cocoa Application tutorial. starting around page 45.

I hope this can be of help to you

_______________________________________________
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


  • Prev by Date: Re: Framework development and Garbage collection required option?
  • Next by Date: Re: How to uninstall xcode 2.5
  • Previous by thread: Re: How to uninstall xcode 2.5
  • Next by thread: Debugger & Data Formatters
  • Index(es):
    • Date
    • Thread