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

用ZFDropDown遇到的问题 #1

Open
TheifSeaMew opened this issue May 23, 2017 · 1 comment
Open

用ZFDropDown遇到的问题 #1

TheifSeaMew opened this issue May 23, 2017 · 1 comment

Comments

@TheifSeaMew
Copy link

1.它不支持IB
2.不能自动的通过传的数组计算cell 的个数。

@Zirkfied
Copy link
Owner

  1. 没有做StoryBoard的适配,所以不支持
  2. 这个代理这样写就是自动计算cell的个数
  • (NSUInteger)numberOfRowsToDisplayIndropDown:(ZFDropDown *)dropDown itemArrayCount:(NSUInteger)count {
    return self.array.count;
    }

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

No branches or pull requests

2 participants