• 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: problems building on 10.5 for 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems building on 10.5 for 10.4


  • Subject: Re: problems building on 10.5 for 10.4
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 31 Oct 2007 10:01:09 -0700


On Oct 30, 2007, at 4:01 PM, Alexander Cohen wrote:

I actually found the solution for the second problem. On leopard, i was returning a nil cell in some circumstances from a custom TableColumn. On leopard, i dont think it matters,

Well, the "way it works" is that you can implement the new delegate method:


- (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn: (NSTableColumn *)tableColumn row:(NSInteger)row;

The first time it is called, 'tableColumn' will be nil, and you can return a cell to have it expand across all table columns, or return 'nil' to have it call you back again for each tableColumn. However, there are no nil cells.

probably due to the new groupings in the NSTableView ( i think we can get nil cells sent to our delegates once in a while ),

The groupings are done by implementing "isGroupRow" -- you shouldn't use that Leopard feature if you are targeting 10.4.



on tiger, it crashes outright.

This still doesn't make sense; it should work on Tiger (unless you are setting Leopard only features). If you can capture the backtrace, I am still curious to see it. It could indicate a problem that needs to be fixed.


thanks,
corbin
_______________________________________________

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: 
 >problems building on 10.5 for 10.4 (From: Alexander Cohen <email@hidden>)
 >Re: problems building on 10.5 for 10.4 (From: Corbin Dunn <email@hidden>)
 >Re: problems building on 10.5 for 10.4 (From: Alexander Cohen <email@hidden>)

  • Prev by Date: Re: reordering table cells with 10.5 sdk
  • Next by Date: Re: reordering table cells with 10.5 sdk
  • Previous by thread: Re: problems building on 10.5 for 10.4
  • Next by thread: fast, threaded drawing to NSImageView from C ?
  • Index(es):
    • Date
    • Thread