//
|
// PopoverViewCell.h
|
// Popover
|
//
|
// Created by StevenLee on 2016/12/10.
|
// Copyright © 2016年 lifution. All rights reserved.
|
//
|
|
#import <UIKit/UIKit.h>
|
#import "PopoverAction.h"
|
|
UIKIT_EXTERN float const PopoverViewCellHorizontalMargin; ///< 水平间距边距
|
UIKIT_EXTERN float const PopoverViewCellVerticalMargin; ///< 垂直边距
|
UIKIT_EXTERN float const PopoverViewCellTitleLeftEdge; ///< 标题左边边距
|
|
@class PopoverAction;
|
|
@interface PopoverViewCell : UITableViewCell
|
|
@property (nonatomic, assign) PopoverViewStyle style;
|
|
/*! @brief 标题字体
|
*/
|
+ (UIFont *)titleFont;
|
|
/*! @brief 底部线条颜色
|
*/
|
+ (UIColor *)bottomLineColorForStyle:(PopoverViewStyle)style;
|
|
- (void)setAction:(PopoverAction *)action;
|
|
- (void)showBottomLine:(BOOL)show;
|
|
@end
|