Re: Creating a class from files
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