#import "OGWidget.h" #import "OGComboBoxItem.h" @class OGComboBox; @protocol OGComboBoxDelegate @optional - (void)comboBoxWasChanged: (OGComboBox*)comboBox; @end @protocol OGComboBoxDataSource - (size_t)numberOfItemsInComboBox: (OGComboBox*)comboBox; - (OGComboBoxItem*)comboBox: (OGComboBox*)comboBox itemAtIndex: (size_t)index; @end @interface OGComboBox: OGWidget { id delegate; id dataSource; } @property (assign) id delegate; @property (assign) id dataSource; + comboBox; @end