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

怎样与swift混编? #49

Closed
LiFuPeng opened this issue Jun 21, 2021 · 2 comments
Closed

怎样与swift混编? #49

LiFuPeng opened this issue Jun 21, 2021 · 2 comments
Labels
question Further information is requested

Comments

@LiFuPeng
Copy link

好轮子
但是怎样与swift混编?
.wTitleArrSet(data)一直报 Argument passed to call that takes no arguments错误

@wwmz
Copy link
Owner

wwmz commented Jun 21, 2021

好轮子
但是怎样与swift混编?
.wTitleArrSet(data)一直报 Argument passed to call that takes no arguments错误

demo里不是有swift使用示范么。
let param:WMZPageParam = PageParam()
.wTitleArrSet()(["第一页","第二页"])
.wViewControllerSet()({(index:NSInteger)->(UIViewController?)in
return TestVC();
})
.wMenuPositionSet()(.init(3))
.wMenuAnimalSet()(.init(5))
.wMenuTitleWidthSet()(100)
.wMenuWidthSet()(200)
.wMenuIndicatorYSet()(5)
self.param = param;

@LiFuPeng
Copy link
Author

之前没看到,不好意思

@wwmz wwmz closed this as completed Jun 22, 2021
@wwmz wwmz added the question Further information is requested label Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants