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

用Swift3.0开发时出现报错 #20

Open
zhuxng opened this issue Dec 23, 2016 · 1 comment
Open

用Swift3.0开发时出现报错 #20

zhuxng opened this issue Dec 23, 2016 · 1 comment

Comments

@zhuxng
Copy link

zhuxng commented Dec 23, 2016

menu.didSelectedItemCompletion = { (selectedItem: MenuItem!) -> Void in
print(selectedItem.index)
}

报错原因是: Cannot assign value of type '(MenuItem!) -> Void' to type 'DidSelectedItemBlock!'
这个方法不能实现,就没有办法跳转!
求解救

@CoderWeiLee
Copy link

swift没有其他好用的吗

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