Re: NSTableview datasource issues

2009-12-24 Thread Kyle Sluder
On Dec 24, 2009, at 8:34 PM, aronis...@afroamerica.net wrote: Xcode could for example flag the datasource method where I had capitalized objectValueForTableColumn, either by pointing out that the method does not exist in interface or that I need to implement datasource methods correctly.

Re: NSTableview datasource issues

2009-12-24 Thread aronisoft
ves on. Thanks again. -Original Message- From: Greg Guerin [mailto:glgue...@amug.org] Sent: Thursday, December 24, 2009 12:21 PM To: 'list-cocoa-dev' Subject: Re: NSTableview datasource issues > ... The issue is that reloadData was not launching datasource > methods, > r

Re: NSTableview datasource issues

2009-12-24 Thread Greg Guerin
... The issue is that reloadData was not launching datasource methods, regardless. ... My concern though: how come Xcode does not flag issues with datasource? What is so strange is that [segmentTableView editColumn:k row:i withEvent:nil select:YES] was launching the datasource methods, w

Re: NSTableview datasource issues

2009-12-23 Thread aronisoft
[mailto:glgue...@amug.org] Sent: Sunday, December 20, 2009 09:13 PM To: 'list-cocoa-dev' Subject: Re: NSTableview datasource issues > I understand your proposition. For some reason, the spaces are > stripped off > by the e-mail system, but you got it right.Did your email system

Re: NSTableview datasource issues

2009-12-20 Thread Greg Guerin
I understand your proposition. For some reason, the spaces are stripped off by the e-mail system, but you got it right. Did your email system also capitalize ObjectValueForTableColumn? Actually, segmentDict contains the copy of a global dictionary created by the method [[MyDocument getSec

Re: NSTableview datasource issues

2009-12-20 Thread aronisoft
rom scratch and all the bindings, but up to now, I can't figure out what is wrong. Thank you. -Original Message- From: Greg Guerin [mailto:glgue...@amug.org] Sent: Sunday, December 20, 2009 03:08 PM To: 'list-cocoa-dev' Subject: Re: NSTableview datasource issues

Re: NSTableview datasource issues

2009-12-20 Thread Greg Guerin
Yes, I set the breakpoint on the data source methods? The datasource methods are not reached at all. Then you must consider the possibility that your table view has a nil data source, or a data source of a different class. If the methods definitely aren't being called, then simple logic

Re: NSTableview datasource issues

2009-12-20 Thread Alexander Spohr
Am 20.12.2009 um 18:32 schrieb aronis...@afroamerica.net: > I did not give you all the methods in my code (it is too lengthy). > segmentDict is a global variable because I need it somewhere else. Sounds like bad design ;) > a dealloc method takes care of releasing the arrays and dictionary.

Re: NSTableview datasource issues

2009-12-20 Thread aronisoft
009 09:52 AM To: aronis...@afroamerica.net Cc: cocoa-dev@lists.apple.com Subject: Re: NSTableview datasource issues Did you set a breakpoint on the data source methods?Please reread about memory management. Your code is full of wrong retains.Why is segmentDict a global variable? You just assign

Re: NSTableview datasource issues

2009-12-20 Thread Alexander Spohr
Did you set a breakpoint on the data source methods? Please reread about memory management. Your code is full of wrong retains. Why is segmentDict a global variable? You just assign to it but never release it. segmentIndustry is a class and should be named with a capital S. segmentIndustryData

NSTableview datasource issues

2009-12-19 Thread aronisoft
I know this has been discussed before, but I have been going through the issue of reloadData and datasource methods not running. I cannot figure out what is going on with my datasource methods. Everything is connected. But when on [segmentTableView reloadData], no datasource method is run. Afte