• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: comboboxcell datasource problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: comboboxcell datasource problem
      • From: Mike Blaguszewski <email@hidden>
References: 
 >comboboxcell datasource problem (From: Warner Onstine <email@hidden>)

  • Prev by Date: Re: OT: folder guards????
  • Next by Date: Re: Getting a NSView pointer from a nib
  • Previous by thread: comboboxcell datasource problem
  • Next by thread: Re: comboboxcell datasource problem
  • Index(es):
    • Date
    • Thread