NSMutableArray+SWUtilityButtons.h 751 B

1234567891011121314151617181920212223242526
  1. //
  2. // NSMutableArray+SWUtilityButtons.h
  3. // SWTableViewCell
  4. //
  5. // Created by Matt Bowman on 11/27/13.
  6. // Copyright (c) 2013 Chris Wendel. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. @interface NSMutableArray (SWUtilityButtons)
  11. - (void)sw_addUtilityButtonWithColor:(UIColor *)color title:(NSString *)title;
  12. - (void)sw_addUtilityButtonWithColor:(UIColor *)color attributedTitle:(NSAttributedString *)title;
  13. - (void)sw_addUtilityButtonWithColor:(UIColor *)color icon:(UIImage *)icon;
  14. - (void)sw_addUtilityButtonWithColor:(UIColor *)color normalIcon:(UIImage *)normalIcon selectedIcon:(UIImage *)selectedIcon;
  15. @end
  16. @interface NSArray (SWUtilityButtons)
  17. - (BOOL)sw_isEqualToButtons:(NSArray *)buttons;
  18. @end