UIBarButtonItem(TKCategory) Category Reference
| Declared in | UIBarButtonItem+TKCategory.h UIBarButtonItem+TKCategory.m |
Class Methods
actionItemWithTarget:action:
Creates and returns a Action button bar button item.
+ (UIBarButtonItem *)actionItemWithTarget:(id)target action:(SEL)actionParameters
- target
The object that receives the action message.
- action
The action to send to target when this item is selected.
Return Value
The UIBarButtonItem object.
Declared In
UIBarButtonItem+TKCategory.hactivityItem
Creates and returns a UIActivityIndicatorView bar button item. The style is white.
+ (UIBarButtonItem *)activityItemReturn Value
The UIBarButtonItem object.
Declared In
UIBarButtonItem+TKCategory.hactivityItemWithIndicatorStyle:
Creates and returns a UIActivityIndicatorView bar button item.
+ (UIBarButtonItem *)activityItemWithIndicatorStyle:(UIActivityIndicatorViewStyle)styleParameters
- style
The indicator style.
Return Value
The UIBarButtonItem object.
Declared In
UIBarButtonItem+TKCategory.hbarButtonItemWithImage:highlightedImage:target:selector:
Creates and returns a bar button item object using with a button with the specified properties.
+ (UIBarButtonItem *)barButtonItemWithImage:(UIImage *)image highlightedImage:(UIImage *)highlighedImage target:(id)target selector:(SEL)selectorParameters
- image
The normal state image.
- highlighedImage
The highlighted state image.
- target
The object that receives the action message.
- selector
The action to send to target when this item is selected.
Return Value
The UIBarButtonItem object.
Declared In
UIBarButtonItem+TKCategory.hcancelItemWithTarget:action:
Creates and returns a Cancel button bar button item.
+ (UIBarButtonItem *)cancelItemWithTarget:(id)target action:(SEL)actionParameters
- target
The object that receives the action message.
- action
The action to send to target when this item is selected.
Return Value
The UIBarButtonItem object.
Declared In
UIBarButtonItem+TKCategory.hdoneItemWithTarget:action:
Creates and returns a Done button bar button item.
+ (UIBarButtonItem *)doneItemWithTarget:(id)target action:(SEL)actionParameters
- target
The object that receives the action message.
- action
The action to send to target when this item is selected.
Return Value
The UIBarButtonItem object.
Declared In
UIBarButtonItem+TKCategory.hfixedSpaceItemWithWidth:
Creates and returns a fixed width bar button item.
+ (UIBarButtonItem *)fixedSpaceItemWithWidth:(CGFloat)widthParameters
- width
The width of the item;
Return Value
The UIBarButtonItem object.
Declared In
UIBarButtonItem+TKCategory.hflexibleSpaceItem
Creates and returns a flexible bar button item.
+ (UIBarButtonItem *)flexibleSpaceItemReturn Value
The UIBarButtonItem object.
Declared In
UIBarButtonItem+TKCategory.hsaveItemWithTarget:action:
Creates and returns a Save button bar button item.
+ (UIBarButtonItem *)saveItemWithTarget:(id)target action:(SEL)actionParameters
- target
The object that receives the action message.
- action
The action to send to target when this item is selected.
Return Value
The UIBarButtonItem object.
Declared In
UIBarButtonItem+TKCategory.h