12345678910111213141516171819202122232425262728 |
- //
- // YOUPAIRCDDanmaku.h
- // DanMuDemo
- //
- // Created by Sin on 16/9/26.
- // Copyright © 2016年 Sin. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- typedef enum : NSInteger {
- RCDDanmakuPositionNone = 0,//从右往左
- RCDDanmakuPositionCenterTop,//中间靠上
- RCDDanmakuPositionCenterBottom//中间靠下
- } RCDDanmakuPosition;//弹幕动画位置
- @interface YOUPAIRCDDanmaku : NSObject
- /**
- * 弹幕内容
- */
- @property(nonatomic, strong) UIView* playView;
- /**
- * 弹幕类型(弹幕所在位置)
- */
- @property(nonatomic, assign) RCDDanmakuPosition position;
- @end
|