6-06-10 on UIKit UISwitch iOS2.0 プロパティ スイッチの状態 解説 @property(nonatomic, getter=isOn) BOOL on フレームワーク UIKit クラス UISwitch Property 使用可能 iPhone2.0 参照 例文