• 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: Easy TableView problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Easy TableView problem


  • Subject: Re: Easy TableView problem
  • From: Jeremy Dronfield <email@hidden>
  • Date: Fri, 27 Feb 2004 19:14:45 +0000

On 27 Feb 2004, at 5:04 pm, Barrett M. Conrad wrote:
-(id)tableView:(NSTableView *)tableView
objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row {

id theSample, tblObject;

if( [ [ tableColumn identifier ] intValue ] == 0) {

NSParameterAssert(rowIndex >= 0 && rowIndex < [samples count]);

theSample = [samples objectAtIndex:row]; // I originally had
these as a single line, but split them for testing purposes. This is
the line that crashes.
tblObject = [theSample getSmplDate];
}

return tblObject;

}
_______________________________________________
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.


References: 
 >Easy TableView problem (From: "Barrett M. Conrad" <email@hidden>)

  • Prev by Date: Sending reference of MyDocument in notifications?
  • Next by Date: Re: Easy TableView problem
  • Previous by thread: Re: Easy TableView problem
  • Next by thread: how to create status bar?
  • Index(es):
    • Date
    • Thread