Reputation: 2642
I tried creating Radio Buttons using this example
Creating a Cocoa radio button programatically
I copy and pasted the code inside my loadView method, when I run build and compile I get NSMatrix undeclared.
Please advise, I have UIKit.h included in my .h file.
Upvotes: 0
Views: 376
Reputation: 2227
NSMatrix isn't available in UIKit (i.e. on iOS). you can look at UISegmentedControl for similar behaviour on iOS.
Upvotes: 2