Files
FSPopoverView/PopoverView/PopoverViewCell.h
T
Steven 8a59ec9372 重构
重构代码, 更简单的调用, 跟简单的监控回调, 使用风格和系统的UIAlertController差不多.
2016-12-14 17:05:02 +08:00

35 lines
785 B
Objective-C

//
// 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