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

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


  • Subject: How to add a column of NSButtonCells to an NSOutlineView in InterfaceBuilder?
  • From: "James Stein" <email@hidden>
  • Date: Sun, 23 Mar 2008 14:52:50 -0700

I'm tearing out my hear trying to figure this out,or find the documentation
(if any) on how to do it.
But it must be really simple.

Example:
In Interface builder, I have an NSOutlineView with
two columns, a column of NSTextFieldCell and
a column of NSButtonCell.

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.

The inspector for the NSTextFieldCell won't let
me change its type to NSButtonCell.

Neither of the inspectors for the TableColumn and the
OutlineView seem to offer any solutions either.

I've tried copying the column of Button cells
and pasting it onto the new column, but IB
insists on pasting into the top level of the nib file,
not onto the new column.  Similarly if I try to drag
an NSButtonCell onto the NSTextFieldCell
or TableColumn, IB places it at the top level of the nib file.

What am I missing, overlooking, not finding?
_______________________________________________

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

  • Follow-Ups:
    • Re: How to add a column of NSButtonCells to an NSOutlineView in InterfaceBuilder?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Adding commandline batch mode to Cocoa app
  • Next by Date: Notification when a volume is renamed?
  • Previous by thread: Re: NSDistributedNotification names
  • Next by thread: Re: How to add a column of NSButtonCells to an NSOutlineView in InterfaceBuilder?
  • Index(es):
    • Date
    • Thread