-
Notifications
You must be signed in to change notification settings - Fork 35
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
Custom Controller and Button Actions #10
Comments
Hello, So I see there was Swift 1.2 updates. I pulled the code from https://github.com/kobim/SLPagingViewSwift/tree/swift1.2 it still doesn't seem to work. It builds great. But I get a EXE_BAD_ACCESS (code=EXC_i386_GPFLT) when I click a button on one of my custom ViewControllers that I added. I would greatly appreciate help with this. I've been searching all over the internet for the answer but couldn't find it. I added a new subclass of UIViewController class TestViewController: UIViewController {
} Which then I replaced one of the UIVIewControllers in AppDelegate with it. Code is shown below.
Here is the stack trace. I made a new project and make a one screen app with the screens class as my TestViewController, I clicked the button and it worked. |
The problem is that your If you add |
Koblm, Thank you for such a quick response. It works just like I want. Thanks, Yaroslaw Bagriy |
Thanks its working |
Hello,
So I've implemented the code below.
I added two new custom controllers. The SettingsViewController has a button with an action. When I go to click the button my program crashes. Any reasons why? The button works perfectly if I don't have it go through the SLPagingViewSwift controller.
The text was updated successfully, but these errors were encountered: