Re: Interface Builder 3 -- Completely New!
Re: Interface Builder 3 -- Completely New!
- Subject: Re: Interface Builder 3 -- Completely New!
- From: Colin Cornaby <email@hidden>
- Date: Fri, 26 Oct 2007 19:09:06 -0700
Make sure the outlets and actions are defined properly in the header.
Then in IB drag out an NSView, set it's subclass to your subclass, and
you should be good to go.
The nice thing about IB3 is it seems to know when you change your
header. In fact, it automatically finds your headers, no importing
required.
Sent from my iPhone
On Oct 26, 2007, at 6:47 PM, John Stiles <email@hidden> wrote:
Say I've got a custom NSView subclass with its own outlets and
actions. How does that mesh with IB3? I couldn't make it work right.
On Oct 26, 2007, at 6:08 PM, Guy English wrote:
In the Library pick Object and drag it to the ... uh, whatever the
window is called where all the instances are.
Select the instance, hit cmd-6 to get the inspector on the right
page. In Class start typing the name of your class and it'll
autocomplete. It pulls class names from the Xcode index I believe.
Anyway - confused me too and I had to ask someone else how to do
it. :) I still find myself dragging header files towards IB from
time to time.
On 26-Oct-07, at 8:30 PM, John Stiles wrote:
My radar on this topic came back as a duplicate of a years-old
bug. (Makes you wonder how long IB3 has been in development.)
I'm sticking with IB2 until this is resolved… it's usable on Leo
pard if you install Xcode 2.5. IB3 looks cool, but the way contr
ols are grouped makes them harder to find, and there still seem
be gaps in the functionality, particularly for the Cocoa class h
ierarchy.
Aaron Vegh wrote:
Greetings all.
I've got my copy of Leopard installed and running well. I'm still
learning Cocoa (Hillegass, chapter 21 right now), and things are
proceeding well enough. I was nervous about any updates to XCode,
but
turns out that app is substantively unchanged.
Interface Builder is a completely different story. It looks
fantastic,
but where the heck is the Class Browser? I need to instantiate a
subclass in the NIB but I don't have a clue where to do it. I went
through the IB documentation, but there's no "What's New" document,
which is shocking considering the changes to this app! It was
easy to
find for XCode.
Can anyone either point out the means to instantiate a subclass, or
point me to the docs?
Thanks!
Aaron.
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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