On 19.10.2010, at 00:32, Graham Cox wrote:
> This is not necessarily a code smell. If it were, why would the tableview
> object be passed as a parameter to the data source?
It is a *smell*. I never said it was wrong. A smell is an indicator that
something is likely wrong, not a sure-fire way to
On 19/10/2010, at 7:31 AM, Uli Kusterer wrote:
> This is a code smell, i.e. a sign that you're likely doing something in a way
> that it wasn't intended to be done.
>
> Don't try to distinguish between them, give them each a separate data
> source/delegate object. That way, you get only one ta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/18/10 1:27 PM, Michael Dautermann wrote:
>
> On Oct 17, 2010, at 4:29 PM, Chris Share wrote:
>
>> I'm new to Cocoa. I'm developing a simple application that contains two
>> TableViews. What I can't figure out is how to distinguish between the
On 18.10.2010, at 01:29, Chris Share wrote:
> I'm new to Cocoa. I'm developing a simple application that contains two
> TableViews. What I can't figure out is how to distinguish between the two
> TableView pointers that are passed in to:
>
> - (int)numberOfRowsInTableView:(NSTableView *) tableVi
On Oct 17, 2010, at 4:29 PM, Chris Share wrote:
> I'm new to Cocoa. I'm developing a simple application that contains two
> TableViews. What I can't figure out is how to distinguish between the two
> TableView pointers that are passed in to:
>
> - (int)numberOfRowsInTableView:(NSTableView *) t
On Oct 17, 2010, at 5:29 PM, Chris Share wrote:
> I'm new to Cocoa. I'm developing a simple application that contains two
> TableViews. What I can't figure out is how to distinguish between the two
> TableView pointers that are passed in to:
>
> - (int)numberOfRowsInTableView:(NSTableView *) t
Hi,
I'm new to Cocoa. I'm developing a simple application that contains two
TableViews. What I can't figure out is how to distinguish between the two
TableView pointers that are passed in to:
- (int)numberOfRowsInTableView:(NSTableView *) tableView
- (id)tableView:(NSTableView *)tableView
obje