martti d
martti d

Reputation: 2642

NSMatrix undeclared

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

Answers (1)

Mike K
Mike K

Reputation: 2227

NSMatrix isn't available in UIKit (i.e. on iOS). you can look at UISegmentedControl for similar behaviour on iOS.

Upvotes: 2

Related Questions