• 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: Visible Rect and objectValueForColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Visible Rect and objectValueForColumn


  • Subject: Re: Visible Rect and objectValueForColumn
  • From: Fritz Anderson <email@hidden>
  • Date: Sat, 25 Sep 2010 13:57:01 -0500

On 24 Sep 2010, at 10:10 AM, email@hidden wrote:

> Is it true that NSTableDataSource method tableView:objectValueForTableColumn:row is called as function of ther associated NSTableView's visible rect?
>
> If so, can one make adjustments to the visible rect thereby tricking NSTableDataSource into calling tableView:objectValueForTableColumn:row ?

Why would you want to? NSTableView is a view — it cares only about the rows and columns it has to draw. It doesn't need to know the values behind parts of the table that aren't visible. It doesn't keep those values, it only pulls them out of your code and draws them. In practice, so far as the table view is concerned, those parts don't even exist. If you want to evaluate other parts of your model, have your model do it itself.

	— F

_______________________________________________

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: 
 >Visible Rect and objectValueForColumn (From: email@hidden)

  • Prev by Date: Re: "Settings" button in UITableView
  • Next by Date: Re: In-app SMS
  • Previous by thread: Visible Rect and objectValueForColumn
  • Next by thread: UITableview scrollStyle
  • Index(es):
    • Date
    • Thread