|
1 | 1 | #import <UIKit/UIKit.h> |
2 | 2 |
|
| 3 | + |
| 4 | +NS_ASSUME_NONNULL_BEGIN |
| 5 | + |
3 | 6 | @class WPTextFieldTableViewCell; |
4 | 7 | @interface WPStyleGuide : NSObject |
5 | 8 |
|
|
63 | 66 | + (void)setRightBarButtonItemWithCorrectSpacing:(UIBarButtonItem *)barButtonItem forNavigationItem:(UINavigationItem *)navigationItem; |
64 | 67 |
|
65 | 68 | // View and TableView Helpers |
66 | | -+ (void)configureColorsForView:(UIView *)view andTableView:(UITableView *)tableView; |
67 | | -+ (void)configureColorsForView:(UIView *)view collectionView:(UICollectionView *)collectionView; |
68 | | -+ (void)configureTableViewCell:(UITableViewCell *)cell; |
69 | | -+ (void)configureTableViewSmallSubtitleCell:(UITableViewCell *)cell; |
70 | | -+ (void)configureTableViewActionCell:(UITableViewCell *)cell; |
71 | | -+ (void)configureTableViewDestructiveActionCell:(UITableViewCell *)cell; |
72 | | -+ (void)configureTableViewTextCell:(WPTextFieldTableViewCell *)cell; |
73 | | -+ (void)configureTableViewSectionHeader:(UIView *)header; |
74 | | -+ (void)configureTableViewSectionFooter:(UIView *)footer; |
| 69 | ++ (void)configureColorsForView:(nullable UIView *)view andTableView:(nullable UITableView *)tableView; |
| 70 | ++ (void)configureColorsForView:(nullable UIView *)view collectionView:(nullable UICollectionView *)collectionView; |
| 71 | ++ (void)configureTableViewCell:(nullable UITableViewCell *)cell; |
| 72 | ++ (void)configureTableViewSmallSubtitleCell:(nullable UITableViewCell *)cell; |
| 73 | ++ (void)configureTableViewActionCell:(nullable UITableViewCell *)cell; |
| 74 | ++ (void)configureTableViewDestructiveActionCell:(nullable UITableViewCell *)cell; |
| 75 | ++ (void)configureTableViewTextCell:(nullable WPTextFieldTableViewCell *)cell; |
| 76 | ++ (void)configureTableViewSectionHeader:(nullable UIView *)header; |
| 77 | ++ (void)configureTableViewSectionFooter:(nullable UIView *)footer; |
75 | 78 |
|
76 | 79 | // Move to a feature category |
77 | 80 | + (UIColor *)buttonActionColor; |
78 | 81 | + (UIColor *)nuxFormText; |
79 | 82 | + (UIColor *)nuxFormPlaceholderText; |
80 | | -+ (void)configureFollowButton:(UIButton *)followButton; |
| 83 | ++ (void)configureFollowButton:(nullable UIButton *)followButton; |
81 | 84 |
|
82 | 85 | // Deprecated Colors |
83 | 86 | + (UIColor *)baseLighterBlue; |
|
94 | 97 | + (UIColor *)validationErrorRed; |
95 | 98 |
|
96 | 99 | @end |
| 100 | + |
| 101 | +NS_ASSUME_NONNULL_END |
0 commit comments