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

not for swift #9

Open
longxianlin opened this issue Nov 22, 2015 · 3 comments
Open

not for swift #9

longxianlin opened this issue Nov 22, 2015 · 3 comments

Comments

@longxianlin
Copy link

error TAPageControll function

@szxinyu
Copy link

szxinyu commented Dec 16, 2015

i have the same problem! look for help!
TAPageControl cannot be used after import it in swift Bridging-header.

@szxinyu
Copy link

szxinyu commented Dec 16, 2015

I solved it! haha, solution, create a subclass of it and use the subclass just like TAPageControl :

class XYPageControl: TAPageControl{
override init(frame: CGRect) {
super.init(frame: frame)
}

required init?(coder aDecoder: NSCoder) {
    fatalError("init(coder:) has not been implemented")
}

}

@JeromeTW
Copy link

I use it in Xcode8 and Swift3, it seems cannot used by Interface Builder but program.
And Needn't subclass TAPageControl. Hope for help~

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

3 participants