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

Open
bulolo opened this issue Dec 24, 2015 · 3 comments
Open

是否能知道是点中的第几个? #2

bulolo opened this issue Dec 24, 2015 · 3 comments

Comments

@bulolo
Copy link

bulolo commented Dec 24, 2015

一般使用场景是 按照点击的第几个 进行跳转。 现在好像只能通过title进行判断跳转吗?
比如tableview 会有 index是第几个。但是这个好像没找到。

@netyouli
Copy link
Owner

为什么不知道?不是有点击回调吗

@netyouli
Copy link
Owner

你在认真看下代码

@bulolo
Copy link
Author

bulolo commented Dec 24, 2015

嗯。原来是index。谢谢。
func WHCMenuView(menuView: WHC_MenuView ,item: WHC_MenuItem, title: String){
print(title)
print(item.index)
}

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