• 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: How to add a column of NSButtonCells to an NSOutlineView in InterfaceBuilder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add a column of NSButtonCells to an NSOutlineView in InterfaceBuilder?


  • Subject: Re: How to add a column of NSButtonCells to an NSOutlineView in InterfaceBuilder?
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 23 Mar 2008 16:08:45 -0700

On 2008 Mar, 23, at 14:52, James Stein wrote:
I'm tearing out my hear trying to figure this out,or find the documentation
(if any) on how to do it.

Unfortunately, there's not too much documentation on the "mousing around" stuff because (a) it's supposed to be "intuitively obvious" and (b) the cost in writer's time and documentation bytes is high relative to the information provided. But I know how you feel.


By changing the number of columns from 2 to 3
in the inspector window for the outline view,
another column is created, but by default
it is a column of NSTextFieldCell.

That step is necessary and correct.

What am I missing, overlooking, not finding?


Try:  menu ► Tools ► Library ► Objects ► Views & Cells ► Cells

Grab the thing that looks like a checkbox named "Check Box Cell". Note that in fine print under the name it gives its class, NSButtonCell. Drag it onto the NSTextFieldCell that you want to change to a button cell and poof it changes. Now, open the Inspector ► Attributes (first tab) on this cell and change its "Style" from "Check" to "Push" or whatever you want it to look like.

I believe the confusion arises from the fact that the "NSButtonCell" in IB's Library has an icon that looks like a checkbox.

P.S. I believe that a the customary place to ask Interface Builder questions is email@hidden. But that's confusing too because Interface Builder ain't Xcode. They should call it the devtools-users. Oh, well. You have to learn the customs. Everything is legacy._______________________________________________

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: 
 >How to add a column of NSButtonCells to an NSOutlineView in InterfaceBuilder? (From: "James Stein" <email@hidden>)

  • Prev by Date: Re: Notification when a volume is renamed?
  • Next by Date: Using CoreAnimation to Show/Hide a SplitView Pane
  • Previous by thread: How to add a column of NSButtonCells to an NSOutlineView in InterfaceBuilder?
  • Next by thread: Notification when a volume is renamed?
  • Index(es):
    • Date
    • Thread