Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
优化内部实现
  • Loading branch information
jinht committed May 30, 2017
1 parent f0f93fd commit e94957b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file not shown.
Binary file modified JhtMarquee/JhtMarqueeSDK/JhtMarqueeSDK.a
Binary file not shown.
2 changes: 1 addition & 1 deletion JhtMarquee/JhtMarqueeSDK/JhtVerticalMarquee.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ typedef void(^verticalMarqueeBlock)(JhtVerticalMarquee *view, NSInteger currentI

#pragma mark optional
/** 当前显示展示的文字在数据源数组中的索引_只读 */
@property (nonatomic, assign) NSInteger index;
@property (nonatomic, assign, readonly) NSInteger currentIndex;

/** 是否为逆时针滚动(default:NO)
* 顺时针:底部 ===> 顶部
Expand Down
2 changes: 1 addition & 1 deletion JhtMarquee/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ - (void)addVerticalMarquee {
}

- (void)verticalMarqueeTapGes:(UITapGestureRecognizer *)ges {
NSLog(@"点击第 %ld 条数据啦啊!!!", _verticalMarquee.index);
NSLog(@"点击第 %ld 条数据啦啊!!!", _verticalMarquee.currentIndex);
[_verticalMarquee marqueeOfSettingWithState:MarqueePause_V];
_isPauseV = YES;

Expand Down
Binary file modified JhtMarqueeSDK/JhtMarqueeSDK.a
Binary file not shown.
2 changes: 1 addition & 1 deletion JhtMarqueeSDK/JhtVerticalMarquee.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ typedef void(^verticalMarqueeBlock)(JhtVerticalMarquee *view, NSInteger currentI

#pragma mark optional
/** 当前显示展示的文字在数据源数组中的索引_只读 */
@property (nonatomic, assign) NSInteger index;
@property (nonatomic, assign, readonly) NSInteger currentIndex;

/** 是否为逆时针滚动(default:NO)
* 顺时针:底部 ===> 顶部
Expand Down

0 comments on commit e94957b

Please sign in to comment.