public static NSCellStateValue ToNSCellStateValue(this bool value) { return value ? NSCellStateValue.NSOnState : NSCellStateValue.NSOffState; } }