• 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: Interface Builder 3 -- Completely New!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Interface Builder 3 -- Completely New! (From: "Aaron Vegh" <email@hidden>)
 >Re: Interface Builder 3 -- Completely New! (From: John Stiles <email@hidden>)
 >Re: Interface Builder 3 -- Completely New! (From: Guy English <email@hidden>)
 >Re: Interface Builder 3 -- Completely New! (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Interface Builder 3 -- Completely New!
  • Next by Date: How to dim some tabs of NSTabView
  • Previous by thread: Re: Interface Builder 3 -- Completely New!
  • Next by thread: Re: Interface Builder 3 -- Completely New!
  • Index(es):
    • Date
    • Thread