macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

UIPickerViewDelegateプロトコル

INDEX>UIKit

準拠 NSObject
フレームワーク /System/Library/Frameworks/UIKit.framework
使用可能 iPhoneOS2.0
定義 UIPickerView.h

概要

参照

タスク

Setting the Dimensions of the Picker View

– pickerView:rowHeightForComponent:
– pickerView:widthForComponent:

Setting the Content of Component Rows

– pickerView:titleForRow:forComponent:
– pickerView:viewForRow:forComponent:reusingView:

Responding to Row Selection

– pickerView:didSelectRow:inComponent: