123456789101112131415161718192021222324252627282930313233343536373839 |
- //
- // FLRiseViewHelper.h
- // FirstLink
- //
- // Created by unicode on 14-11-18.
- // Copyright (c) 2014年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "FLViewController.h"
- typedef NS_ENUM(NSInteger, RiseViewType) {
- RiseViewTypeDefault,
- RiseViewTypeAutoClose,
- RiseViewTypeClickClose,
- RiseViewTypeClickMore,
- };
- static const CGFloat DOWN_COMMAND_HEIGHT = 30;
- @interface FloatDownCommand : NSObject
- @property (nonatomic, assign) RiseViewType type;
- @property (nonatomic, strong) NSString *content;
- @end
- @interface FloatDownView : UIView
- @property (nonatomic, strong) NSMutableArray *messageQueue;
- + (FloatDownView *)sharedInstance;
- - (void)prepareFloatDownViewFrame:(CGRect)frame inView:(UIView*)pView clickCallBack:(void (^)(id object))callBack;
- - (void)sendCommand:(FloatDownCommand*)command;
- @end
|