Re: NSTableView with LARGE dataset
Re: NSTableView with LARGE dataset
- Subject: Re: NSTableView with LARGE dataset
- From: Mike Abdullah <email@hidden>
- Date: Fri, 23 Feb 2007 17:52:27 +0000
I believe the problem is that at some point the float used by Cocoa
for drawing becomes inaccurate to the nearest integer and so the
drawing becomes a corrupted. Presumably this is what you are seeing.
Although I don't have any solution to offer you, hopefully there's
people on the list who have the experience with this sort of thing.
Mike.
On 23 Feb 2007, at 16:34, Paul Thomas wrote:
Hi,
is there a limit on how big an NSTableView can be?
I have a large data set to display and the rendering is corrupt
after a certain number of rows. As a sample, I created an app in
XCode with just a table view connected to a data source as below:
- (int)numberOfRowsInTableView:(NSTableView *)aTableView
{
return 3625392;
}
-(id)tableView:(NSTableView *)aTableView
objectValueForTableColumn:(NSTableColumn *)aTableColumn
row:(int)rowIndex
{
return [NSNumber numberWithInt: rowIndex];
}
Is this an expected problem?
pt.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40mikeabdullah.net
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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