• 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 a class from files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a class from files


  • Subject: Re: Creating a class from files
  • From: Gregory Weston <email@hidden>
  • Date: Sat, 12 Jan 2008 15:06:04 -0500

Patrick Mahoney wrote:

I'm quite new to Cocoa development and I'm sad to say that I'm stuck
pretty early on. I was walking through the Currency Converter example
(with some minor changes), and I cannot get IB to create the
CustomConverter from the file I laid out. Selecting File -> Read Class
Files -> CustomController.h doesn't return any errors, but doesn't
create an instance in my .nib file either.

It shouldn't create an instance. Presuming you're working with the pre-Leopard tools, it'll create a declaration for the class. You still have to manually instantiate the objects you need. You do that by switching to the Classes tab, finding your class and using its context menu to instantiate.


G
_______________________________________________

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: Change in File Link Behavior in NSTextView Under Leopard
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 44
  • Previous by thread: Re: Creating a class from files
  • Next by thread: How to use "setRecentSearches" of a NSSearchField?
  • Index(es):
    • Date
    • Thread