No, both delegate and data source are connected, and they are all
getting called. This is why I believe the order is the problem.
On Aug 3, 2009, at 12:16 AM, Quincey Morris wrote:
On Aug 2, 2009, at 22:04, Chase Meadors wrote:
I'm having a bit of trouble here with table view data source
On Aug 3, 2009, at 1:04 AM, Chase Meadors wrote:
I'm having a bit of trouble here with table view data source
methods. I have implemented. I have these three:
1) - (NSCell *)tableView:(NSTableView *)sender
dataCellForTableColumn:(NSTableColumn *)tableColumn row:
(NSInteger)row;
2) -
On Aug 3, 2009, at 1:04 AM, Chase Meadors wrote:
I'm having a bit of trouble here with table view data source
methods. I have implemented. I have these three:
1) - (NSCell *)tableView:(NSTableView *)sender
dataCellForTableColumn:(NSTableColumn *)tableColumn row:
(NSInteger)row;
2) -
From: Chase Meadors c.ed.m...@gmail.com
Date: August 3, 2009 1:27:26 PM CDT
To: Andy Lee ag...@mac.com
Subject: Re: Table view data source methods order?
This is beginning to frustrate me. I tried assigning the menu in the
-dataCellFor... method and eliminating -willDisplay... altogether
From: Chase Meadors c.ed.m...@gmail.com
Date: August 3, 2009 2:01:57 PM CDT
To: Quincey Morris quinceymor...@earthlink.net
Subject: Re: Table view data source methods order?
Actually, and I forgot to mention this, I need number 1 because my
second column contains a mix of text cells
On Aug 3, 2009, at 13:24, Chase Meadors wrote:
Maybe I'm missing what you mean here, but if I do that, then what
should I do in the objectValueFor... method?
On Aug 3, 2009, at 2:13 PM, Quincey Morris wrote:
Yes, but according to that message you *didn't* set the correct
selection index
I think this isn't working either. Let me post the relevant code and
see if you notice anything off the bat.
- (NSCell *)tableView:(NSTableView *)sender dataCellForTableColumn:
(NSTableColumn *)tableColumn row:(NSInteger)row {
//cut: judge column and row...
On Aug 3, 2009, at 15:16, Chase Meadors wrote:
NSPopUpButtonCell *cell = [[NSPopUpButtonCell alloc]
initTextCell:@ pullsDown:YES];
You want a popup menu, not a pull-down menu.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
...What the...?? That fixed it!...
I thought that was just a preference... come to think of it, why in
the world DOES that make difference??
On Aug 3, 2009, at 5:49 PM, Quincey Morris wrote:
On Aug 3, 2009, at 15:16, Chase Meadors wrote:
NSPopUpButtonCell *cell = [[NSPopUpButtonCell
On Aug 3, 2009, at 4:54 PM, Chase Meadors wrote:
I thought that was just a preference... come to think of it, why in
the world DOES that make difference??
In a pop-up menu, the selected item is the displayed item. In a pull-
down menu, the displayed item is always the very first item, but
On Aug 2, 2009, at 22:04, Chase Meadors wrote:
I'm having a bit of trouble here with table view data source
methods. I have implemented. I have these three:
1) - (NSCell *)tableView:(NSTableView *)sender
dataCellForTableColumn:(NSTableColumn *)tableColumn row:
(NSInteger)row;
2) -
11 matches
Mail list logo