Re: comboboxcell datasource problem
Re: comboboxcell datasource problem
- Subject: Re: comboboxcell datasource problem
- From: Warner Onstine <email@hidden>
- Date: Fri, 28 Apr 2006 12:08:05 -0700
Anyone have an idea on this one? Is there more info I need to provide?
-warner
On Apr 27, 2006, at 9:24 PM, Warner Onstine wrote:
Not sure exactly what I'm doing wrong here. I have attempted to
implement the protocol for NSComboBoxCell but apparently I'm doing
something wrong as I'm getting this error when I click on the drop-
down:
2006-04-27 21:13:40.121 iWorkout[2751] *** -[NSScrollView
copyWithZone:]: selector not recognized [self = 0x390200]
Here are some of the code snippets from my DataSource:
{
[super init];
weightRoutines = [NSMutableArray array];
[weightRoutines addObject:@"Bench Press"];
[weightRoutines addObject:@"Fly"];
[weightRoutines addObject:@"Incline Press"];
return self;
}
- (id)comboBoxCell:(NSComboBoxCell *)aComboBoxCell
objectValueForItemAtIndex:(int)index
{
return [weightRoutines objectAtIndex:index];
}
Any help is appreciated.
-warner
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40warneronstine.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden