I am trying to understand custom table views, but I am stuck into a problem concerning NSPopUpButtonCells.
I have a tableview that contains 2 columns: The first one, holds an NSSTring, and the second one an NSPopUpButton. For some reason, I can't get the popup button to work with a default menu set by me.
When I clicked build and run, I expected to see a tableview that contained one object with an NSString as a name, and a PopupButton with some choices. Instead, I see no choices in the popup button.
To assist me, I have made a BaseClass, that will hold an NSPopUpButtonCell and an NSSTring. I give you the example project.
Can anyone see the project and see what I am doing wrong?
I have a tableview that contains 2 columns: The first one, holds an NSSTring, and the second one an NSPopUpButton. For some reason, I can't get the popup button to work with a default menu set by me.
When I clicked build and run, I expected to see a tableview that contained one object with an NSString as a name, and a PopupButton with some choices. Instead, I see no choices in the popup button.
To assist me, I have made a BaseClass, that will hold an NSPopUpButtonCell and an NSSTring. I give you the example project.
Can anyone see the project and see what I am doing wrong?