• 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: IB - HowTo put an NSButtonCell in TableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB - HowTo put an NSButtonCell in TableColumn


  • Subject: Re: IB - HowTo put an NSButtonCell in TableColumn
  • From: Ryan Stevens <email@hidden>
  • Date: Wed, 7 Sep 2005 19:56:56 -0700

1. Click on the "Cocoa-Data" tab in the palette window.
2. Drag the itty-bitty checkbox to a table column header.
3. ???
4. Profit.

On Sep 7, 2005, at 1:01 PM, Andre wrote:

[[tableView tableColumnWithIdentifier:identifier] setDataCell:myButtonCell];

You can configure the cell before you add it, doing the same as clicking the dog-ear and changing the settings there.


On 平成 17/09/08, at 0:36, Steve Cronin wrote:


Folks;

I am using XCode 2.1 on Tiger.

I have a nib, which when I view it in IB, has a TableView with checkboxes displayed in column 1.
I want to know how that was done.
No matter what I do I cannot seem to set the TableColumn to a NSButtonCell.
I do find code in archives that tells me how to do this with code BUT this has been done only in IB.


When I click on the 'good' TableColumn there is a little 'dog-ear' icon in the column heading that shows me an NSButtonCell inspector

What is the IB magic to do this?
AND MOST IMPORTANT  --  where is this IB magic documented?

When I scan cocoa-dev, the Apple docs, and the mailing list archives I don't find much about IB.
IB is major source of difficulty for me; it seems so opaque - everything seems hidden...
Does anyone have a resource for really learning IB?


Thanks!
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >IB - HowTo put an NSButtonCell in TableColumn (From: Steve Cronin <email@hidden>)
 >Re: IB - HowTo put an NSButtonCell in TableColumn (From: Andre <email@hidden>)

  • Prev by Date: Re: IBOutlet not 'sticking' at runtime
  • Next by Date: Trouble with double clicking my documents
  • Previous by thread: Re: IB - HowTo put an NSButtonCell in TableColumn
  • Next by thread: What's wrong with my drawInteriorWithFrame implementation ?
  • Index(es):
    • Date
    • Thread