• 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: NSTableView and check boxes (for the hundredth time)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView and check boxes (for the hundredth time)


  • Subject: Re: NSTableView and check boxes (for the hundredth time)
  • From: Tom Davie <email@hidden>
  • Date: Fri, 4 Oct 2002 09:07:40 +0100

> On Thursday, October 3, 2002, at 08:03 AM, Vladimir Pilipyuk wrote:
>
> > Hi Jan,
> >
> > Your code should display check boxes in the @"status"
> column, it seems
> > OK. Are you sure, you set column identifier in IB correctly?
>
> Yes, I selected the table column, and under Attributes in the info
> panel I set the identifier to be "status" (without the quotes.)
>
> It seems as if all the code in awakeFromNib is never having
> an effect,
> since all I ever get in the column is a 1 or 0, depending on
> what I set
> numberWithBool: to be. The exact same same thing happens
> with all the
> code in awakeFromNib removed. How could this be?
>
> Confused,
>
> -Jan Van Tol

I had this precise problem with an NSOutline view - the problem appeared to
be that I was releaseing the NSButtonCell that I used to replace the cell in
the table. You need to store it in the controller class and only release
when you are finnished with the table.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSTableView and check boxes (for the hundredth time)
      • From: Vladimir Pilipyuk <email@hidden>
  • Prev by Date: Re: Insert text at end of Textview
  • Next by Date: Re: Insert text at end of Textview
  • Previous by thread: Re: NSTableView and check boxes (for the hundredth time)
  • Next by thread: Re: NSTableView and check boxes (for the hundredth time)
  • Index(es):
    • Date
    • Thread