Re: NSTableView Problems

2008-11-24 Thread Barry Fawthrop
To All Thank You My main problem was I did not set Identifiers in the IB for the tableColumns So I could not reference each column Having set that and using an NSMutableDictionary helped to get what I was needing. Thank you for your input it sure helped me grasp the concepts Barry Barry Fawt

Re: NSTableView Problems

2008-11-24 Thread Alexander Spohr
Am 24.11.2008 um 01:21 schrieb Barry Fawthrop: Thank You my datasource methods are as follows: -(int) numberOfRowsInTableView:(NsTableView *)table { return [schedule count]; } -(id)talbeview: (NSTableView *)table objectValueForTableColumn: (NSTableColumn *)col: row:(int)row { return [schedul

Re: NSTableView Problems

2008-11-23 Thread Graham Cox
On 24 Nov 2008, at 11:21 am, Barry Fawthrop wrote: -(id)talbeview: (NSTableView *)table objectValueForTableColumn: (NSTableColumn *)col: row:(int)row { return [schedule objectAtIndex: row]; } This won't work. For one thing it's completely misspelt - that might be a mail error, but if not

Re: NSTableView Problems

2008-11-23 Thread Barry Fawthrop
Thank You my datasource methods are as follows: -(int) numberOfRowsInTableView:(NsTableView *)table { return [schedule count]; } -(id)talbeview: (NSTableView *)table objectValueForTableColumn: (NSTableColumn *)col: row:(int)row { return [schedule objectAtIndex: row]; } Can/Should I perhap

Re: NSTableView Problems

2008-11-23 Thread Graham Cox
On 24 Nov 2008, at 10:43 am, Graham Cox wrote: [schedule addObject: [NSArray arrayWithObjects: @"TIME", filename, length, nil]]; A further comment. While managing your data this way is OK, and may fit your application well, I personally wouldn't do it this way. Instead, define an object

Re: NSTableView Problems

2008-11-23 Thread Graham Cox
On 24 Nov 2008, at 10:13 am, Barry Fawthrop wrote: I have added an NSTableView linked it's datasource and deletegate to the Controller object I have the two required procedures I use the following to add data into the Table NSMutableArray *schedule; NSTableView*playlist; NSString

NSTableView Problems

2008-11-23 Thread Barry Fawthrop
I have added an NSTableView linked it's datasource and deletegate to the Controller object I have the two required procedures I use the following to add data into the Table NSMutableArray *schedule; NSTableView*playlist; NSString *filename; NSString *length; [schedule

Re: NSTableView problems

2008-11-03 Thread Corbin Dunn
On Nov 2, 2008, at 10:53 AM, Priscila J.V. wrote: The question is how can just draw one time every cell without change values in my table view?, because every time I click outside my XCode project appears in my Log View changes and makes me think that the table's work never stops and every

Re: NSTableView problems

2008-11-02 Thread Mudi Dandan
You call [persiaTable reloadData] inside the tableview's delegate method.That will cause an infinite loop I guess. You shouldn't call reloaddata unless you updated the values for the tableview. On Nov 2, 2008, at 7:53 PM, Priscila J.V. wrote: Hello, I'm new in objective C programming. I tr

NSTableView problems

2008-11-02 Thread Priscila J . V .
Hello, I'm new in objective C programming. I try to do a program where a user can choose the number of partitions of a range in the code appears like "valor = 30" (number of rows in table), this range can be change from 1 to 100 only by the user, the main goal is using a NSTableView to show sq

NSTableView problems when 0 items

2008-06-15 Thread Kiel Gillard
Howdy, Are there any messages in your Run Log or in Console that might help you figure out the problem? Can you verify the table data source method implementations are returning the right values? Kiel I have an NSTableView object and an NSPopUpButton that I use to select a > category of informati

NSTableView problems when 0 items

2008-06-15 Thread Christopher J Kemsley
I have an NSTableView object and an NSPopUpButton that I use to select a category of information to display in the table... The problem is this: If I select a category with 0 items in it, the table view will update as expected... but, if I select one with more than one item right afterward