I want to add items to my NSPopUpButton with an array. This is the reason why I decided
to use addItemsWithTitles. I'm not sure exactly what exactly needs to be the items in the array.
addItemWithTitle: uses an argument of NSString *. Does the array need to be an array of NSString *. My array is actually an array of a class with the following instance varialbes
NSString *categoryDescription;
NSMutableArray *categoryRoles;
I want the NSPopButton to use the categoryDescription as the titles displayed.
I tried using addItemsWithTitles:categoryArray
and got Category isEqualToString: selector not recognized..
Can I not use the said method with an array of a class of mine..
What I want to accomplish is that when the user selects the NSPopUpButton, I then display is an NSTableView the categoryRoles.
Thanks.
ron