macOS/iOS API解説

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

目次

NSComboBoxCellクラス

INDEX>AppKit> NSComboBoxCell

**

継承 NSObject
NSCell
NSActionCell
NSTextFieldCell
NSComboBoxCell
準拠 NSObject (NSObject)
NSAccessibility
NSAccessibilityElement
NSCoding
NSCopying
NSObject
NSUserInterfaceItemIdentification
フレームワーク /System/Library/Frameworks/AppKit.framework
使用可能 OS X 10.0以降
定義
インポート文 @import AppKit;

developer.apple.com

概要

メソッドとプロパティ

Setting Display Attributes

hasVerticalScroller
buttonBordered

intercellSpacing

itemHeight
numberOfVisibleItems

Accessing a Data Source

dataSource
usesDataSource

Working with an Internal List

- addItemsWithObjectValues:
- addItemWithObjectValue:
- insertItemWithObjectValue:atIndex:
objectValues
- removeAllItems
- removeItemAtIndex:
- removeItemWithObjectValue:
numberOfItems

Manipulating the Displayed List

- indexOfItemWithObjectValue:
- itemObjectValueAtIndex:
- noteNumberOfItemsChanged
- reloadData
- scrollItemAtIndexToTop:
- scrollItemAtIndexToVisible:

Manipulating the Selection

- deselectItemAtIndex:
indexOfSelectedItem
objectValueOfSelectedItem
- selectItemAtIndex:
- selectItemWithObjectValue:

Completing the Text Field

- completedString:
completes



定数

参照

更新時バージョン

OS X 10.11