Re: How to create a custom class to use in interface builder
Re: How to create a custom class to use in interface builder
- Subject: Re: How to create a custom class to use in interface builder
- From: Robert Walker <email@hidden>
- Date: Tue, 14 Mar 2006 12:56:35 -0500
1. Open Interface Builder (IB)
2. Click on the Classes Tab in "MainMenu.nib" (or whatever) window.
3. Find the class in the list that you want to subclass. Use
NSObject for your first test.
4. After highlighting NSObject (root class) press the Return key.
5. Enter the name of your custom class.
6. From the Classes Menu at the top Choose "Instantiate MyObject" (or
whatever you named it). Do this is you want to be able to connect to
your object.
7. Add your "outlets" and "actions" to your class using the Inspector
pallet.
8. Choose "Create Files for MyObject" from the Classes Menu to
generate your class files.
This is the basic workflow. There are many variations to this but
this should get you started.
On Mar 14, 2006, at 12:46 PM, Karim Gorjux wrote:
Hello folks! This is my first message in the list so I guess is
opportune to present myself in one row without bore you. My name is
Karim Norman Gorjux I'm from Italy and I'm 26 years old.
My question is quite simple: I need to create some object to use in
interface builder but I don't know how to do it. Anyone knows where
I can get this information? I tried to find some tutorial,
documentation (especially on ADC) for my purpose but without results.
Thanks :-)
--
Karim Gorjux
http://www.karimblog.net
Skype: karimac
e-mail: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
Robert Walker
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden