Reputation: 733
Probably a very simple question. I'm trying to create a series of circles that would be like checkboxes or change colour when you click them. Just to begin I'm trying to initialise a rectangle. I've read that it needs to be an NSView subclass but I'm not sure what that is because it's not an option in the Objective-C class list. Which subclass should I use?
Upvotes: 0
Views: 108
Reputation: 25687
NSView
is for OS X development.
UIView
is its iOS counterpart.
UIView
.In fact, you'll find this relationship true of many UI classes:
NSView
> UIView
NSTableView
> UITableView
NSSlider
> UISlider
NSTextField
> UITextField
Upvotes: 2