Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代碼微調 #2

Merged
merged 1 commit into from
Jan 25, 2016
Merged

代碼微調 #2

merged 1 commit into from
Jan 25, 2016

Conversation

DaidoujiChen
Copy link
Contributor

Hello @dse12345z,

調整的部分為

  1. + (void)initWithScrollView:(UIScrollView *)scrollView withTagView:(TagViewBlock)tagViewBlock didScroll:(ScrollBlock)scrollBlock; 中的 TagViewBlock 改為直接傳入 UIView.
  2. objc_getAssociatedObject(scrollView, @selector(initWithScrollView:withTagView:didScroll:)) 改為 objc_getAssociatedObject(scrollView, _cmd), 直接使用 _cmd 即可.
  3. method - (void)setStayOffset:(CGFloat)stayOffset 內沒有把值寫入, 補上這個部分.

dse12345z added a commit that referenced this pull request Jan 25, 2016
@dse12345z dse12345z merged commit fd177f4 into dse12345z:master Jan 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants