FROM : Ben Mackin
DATE : Thu Jan 30 18:58:22 2003
On 1/4/03 4:59 PM, "Andrew Yager" wrote:
> Then, in your
>
> - (id)tableView: objectValueForTableColumn: row:
>
> Delegate method, you want to return the image for the right column...
>
> Eg
>
> - (id)tableView:(NSTableView *)tableView
> objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row {
> NSString* ident = [tableColumn identifier];
> if ([ident isEqual:@"SubScript"])
> {
> return [[[self script] itemAtIndex:row] image];
> }
> // else if... Etc...
> }
>
> Hope this helps ;-)
Actually this did help. The only issue is I am not sure what [self script]
should be. I know what the self is, its the script part I don't know about.
When I compile I see the following:
myProject.m:4716: warning: `myProject' does not respond to `script'
Any more insight would be great!
Thanks,
Ben
http://www.shayufilms.com
DATE : Thu Jan 30 18:58:22 2003
On 1/4/03 4:59 PM, "Andrew Yager" wrote:
> Then, in your
>
> - (id)tableView: objectValueForTableColumn: row:
>
> Delegate method, you want to return the image for the right column...
>
> Eg
>
> - (id)tableView:(NSTableView *)tableView
> objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row {
> NSString* ident = [tableColumn identifier];
> if ([ident isEqual:@"SubScript"])
> {
> return [[[self script] itemAtIndex:row] image];
> }
> // else if... Etc...
> }
>
> Hope this helps ;-)
Actually this did help. The only issue is I am not sure what [self script]
should be. I know what the self is, its the script part I don't know about.
When I compile I see the following:
myProject.m:4716: warning: `myProject' does not respond to `script'
Any more insight would be great!
Thanks,
Ben
http://www.shayufilms.com
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

