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

Xcode 11.3 #import "ZHFilterMenuView.m" 503p #3

Open
q240252859 opened this issue Jan 15, 2020 · 3 comments
Open

Xcode 11.3 #import "ZHFilterMenuView.m" 503p #3

q240252859 opened this issue Jan 15, 2020 · 3 comments

Comments

@q240252859
Copy link

Multiple methods named 'selected' found with mismatched result, parameter type or attributes

@q240252859
Copy link
Author

if ([[filterModel.itemArr firstObject] selected])

@hi-zhouyn
Copy link
Owner

if ([[filterModel.itemArr firstObject] selected])

你可以先排查一下所构造的数据是否有问题,[filterModel.itemArr firstObject]正常情况下取出来的数据会是ZHFilterItemModel的实例,如果你在filterModel.itemArr中存放的是其它类型的数据将会因为构造类型不匹配导致报错。

@q240252859
Copy link
Author

q240252859 commented Jan 15, 2020 via email

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