ILScopeBarDelegate protocol reference
ILScopeBarProtocols.h |
Overview
A protocol of optional methods that ccould be used for the delegate of an ILScopeBar
Tasks
Optional Methods
Instance methods
shouldSelectItemInScopeBar:atIndex:
- (BOOL)shouldSelectItemInScopeBar:(ILScopeBar *) bar
atIndex:(NSInteger) idx
Discussion
The scope bar calls this method before an item gets selected. If the delegate returns NO, it doesn't change the selection.
Warning
This method gets called often so be weary of what gets done inside of it.
Declared in
ILScopeBarProtocols.h
didSelectItemInScopeBar:atIndex:withTag:andTitle:
- (void)didSelectItemInScopeBar:(ILScopeBar *) bar
atIndex:(NSInteger) idx
withTag:(NSInteger) tag
andTitle:(NSString *) title
Discussion
The scope bar calls this delegate method after every time an item is selection.
Declared in
ILScopeBarProtocols.h