#import #import #import #import #import #import #define NUM_GROUPS 2 #define CELLS_PER_GROUP 2 @interface PrefTable : UIPreferencesTable { UIPreferencesTableCell *cells[NUM_GROUPS][CELLS_PER_GROUP]; UIPreferencesTableCell *groupcell[NUM_GROUPS]; UISegmentedControl *langControl; UISwitchControl *stemmingControl; UISwitchControl *caseControl; } - (id)initWithFrame:(CGRect)rect; - (int)numberOfGroupsInPreferencesTable:(UIPreferencesTable *)aTable; - (UIPreferencesTableCell *)preferencesTable: (UIPreferencesTable *)aTable cellForGroup:(int)group; - (float)preferencesTable:(UIPreferencesTable *)aTable heightForRow:(int)row inGroup:(int)group withProposedHeight:(float)proposed; - (BOOL)preferencesTable:(UIPreferencesTable *)aTable isLabelGroup:(int)group; - (UIPreferencesTableCell *)preferencesTable: (UIPreferencesTable *)aTable cellForRow:(int)row inGroup:(int)group; -(NSString*) languagePref; @end