Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
fix #40
  • Loading branch information
jinht committed Mar 28, 2019
1 parent 2c5de92 commit 715d4fb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion JhtMarquee.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'JhtMarquee'
s.version = '1.0.4'
s.version = '1.0.5'
s.summary = '跑马灯/滚动文字条'
s.homepage = 'https://github.com/jinht/Marquee'
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
4 changes: 2 additions & 2 deletions JhtMarquee/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ - (JhtVerticalMarquee *)verticalMarquee {

_verticalMarquee.tag = 101;
// _verticalMarquee.isCounterclockwise = YES;
_verticalMarquee.verticalNumberOfLines = 0;
_verticalMarquee.numberOfLines = 0;
_verticalMarquee.backgroundColor = [UIColor yellowColor];
_verticalMarquee.verticalTextColor = [UIColor purpleColor];
_verticalMarquee.textColor = [UIColor purpleColor];

// 添加点击手势
UITapGestureRecognizer *vtap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(marqueeTapGes:)];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@
#define JhtHorizontalMarquee_Define_h


/** 跑马灯状态_枚举 */
/** 跑马灯状态_枚举
* tip: 调用 MarqueeShutDown_H 后,需要调用 MarqueeStart_H 才能开启滚动
*/
typedef NS_ENUM(NSUInteger, MarqueeState_H) {
// 开启
MarqueeStart_H,
// 关闭
MarqueeShutDown_H,

// 暂停
MarqueePause_H,
// 取消暂停(继续)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@
#define JhtVerticalMarquee_Define_h


/** 跑马灯状态_枚举 */
/** 跑马灯状态_枚举
* tip: 调用 MarqueeShutDown_V 后,需要调用 MarqueeStart_V 才能开启滚动
*/
typedef NS_ENUM(NSUInteger, MarqueeState_V) {
// 开启
MarqueeStart_V,
// 关闭
MarqueeShutDown_V,

// 暂停
MarqueePause_V,
// 取消暂停(继续)
Expand Down
Binary file modified JhtMarquee_SDK/JhtMarquee.framework/JhtMarquee
Binary file not shown.

0 comments on commit 715d4fb

Please sign in to comment.