Skip navigation.
 
mlRe: [Leopard] Interface Builder - Subclassing
FROM : Eric Celeste
DATE : Sun Nov 04 02:45:14 2007

Apologies. I just realized that this thread should be in the
xcode-users list. Just for the record, the document I found that looks
like it will be a big help getting oriented is:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/IB_UserGuide/index.html

Again, sorry for posting to the wrong list!
...Eric

On 11/3/07, Eric Celeste <<email_removed>> wrote:
> Chris, I'm trying very hard to follow what you've said... but I can't.
>
> I'm looking at IB3 and I do what you suggest. I drag NSObject out of
> the Library and drop it in my .nib document. Then you say "Get Info on
> it". But there is no "Get Info" anywhere in IB3 except for the "i"
> button in the toolbar of the .nib file and it only gets info for the
> .nib file.
>
> How do you create a subclass in IB3?
>
> Has anyone put a simple tutorial together for XCode3/IB3 that is the
> equivalent of the old "Currency Converter" example. None of the
> step-by-step tutorials from Apple apply any more. It is hard to
> believe that they released XCode3 after the past year's work without
> any basic tutorial. I must just be missing something!
>
> ...Eric
>
> On 11/3/07, Chris Hanson <<email_removed>> wrote:
> > On Nov 2, 2007, at 1:34 PM, Tommy Nordgren wrote:
> >
> > >      According to info during Leopard tech Talks, early 2007, Stockholm,
> > > Sweden,
> > > Interface Builder 3 won't have code generation. Create your class in
> > > Xcode, and then tell interface builder
> > > to parse the header file.
> >
> > While this is the straightforward workflow, Interface Builder 3 does
> > still support generating classes and code -- more flexibly than
> > Interface Builder 2, too!
> >
> > You can drag an object out of the Library window and into your IB
> > document or an IB editor window, and then Get Info on it and change
> > its class to anything you want.  There, you have a subclass.  You can
> > generate a file for this class by choosing "Write Class Files..." from
> > the File menu while in the Identity Inspector for that object.
> >
> > Or you can simply select an outlet or action that you've added in the
> > Identity Inspector, use the Copy command, and then go to the class's
> > header file and choose Paste.  That will put a declaration for that
> > outlet or action into the header.
> >
> > Note that you can generate not just stub Objective-C code and headers,
> > but also Python and Ruby code for PyObjC and RubyCocoa, respectively!
> >
> >    -- Chris
> >
> > _______________________________________________
> >
> > Cocoa-dev mailing list (<email_removed>)
> >
> > 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:
> > http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
> >
> > This email sent to <email_removed>
> >
>
>
> --
> Eric Celeste / http://eric.clst.org / Saint Paul, MN / 651-323-2009 /
> <email_removed>
>



--
Eric Celeste / http://eric.clst.org / Saint Paul, MN / 651-323-2009 /
<email_removed>

Related mailsAuthorDate
ml[Leopard] Interface Builder - Subclassing Rick Langschultz Nov 2, 21:13
mlRe: [Leopard] Interface Builder - Subclassing Shawn Erickson Nov 2, 21:31
mlRe: [Leopard] Interface Builder - Subclassing Scott Anguish Nov 2, 21:34
mlRe: [Leopard] Interface Builder - Subclassing Tommy Nordgren Nov 2, 21:34
mlRe: [Leopard] Interface Builder - Subclassing Rick Langschultz Nov 3, 00:08
mlRe: [Leopard] Interface Builder - Subclassing Chris Hanson Nov 4, 02:10
mlRe: [Leopard] Interface Builder - Subclassing Eric Celeste Nov 4, 02:23
mlRe: [Leopard] Interface Builder - Subclassing Eric Celeste Nov 4, 02:45
mlRe: [Leopard] Interface Builder - Subclassing Chris Hanson Nov 4, 02:53
mlRe: [Leopard] Interface Builder - Subclassing Rick Langschultz Nov 4, 05:01