daisuke310vvv / PopupController

PopupController is a controller for showing temporary popup view.
MIT License
337 stars 61 forks source link

Having trouble with popup #36

Open iHunterX opened 8 years ago

iHunterX commented 8 years ago

I did exactly like your example but when i tap the button to call the popup it crash right here

in PopupSBVC.swift
class func instance() -> PopupSBVC {
    let storyboard = UIStoryboard(name: "PopupSBVC", bundle: nil)
    return storyboard.instantiateInitialViewController() as! PopupSBVC
}

in my Viewcontroller.swift

@IBAction func rightBtnClicked(sender: AnyObject) {
    PopupController
        .create(self)
        .show(PopupSBVC.instance())

}

I had the storyboard name PopupSBVC

please help, many thanks

daisuke310vvv commented 8 years ago

Hi @iHunterX Can I see the logs?