[Mono-osx] [Mono-Mac] NSButton and NSCell State
kjpou at pt.lu
Sat Nov 6 01:59:08 EDT 2010
I have a question on the NSCell.State and NSButton.State
Shouldn't the State be defined as return type of NSCellStateValue instead of
I know in the official documentation for NSButton and NSCell the state is
In my code I have to cast to an int whereas if it was defined as
NSCellStateValue then there would be no cast and code completion would give
you option instead of developers looking through documentation for the value
to compare to.
I tested it successfully locally and intellisense works as well.
View this message in context: http://mono.1490590.n4.nabble.com/Mono-Mac-NSButton-and-NSCell-State-tp3029722p3029722.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx