Skip to content

Unrecognized selector sent to instance #28

@panzerdp

Description

@panzerdp

Hi,
thanks for the great pod.
I'm using this in a Swift project, built on Xcode 6.2 beta.
But I'm having this error
[UIView setIsCustomPanel:]: unrecognized selector sent to instance 0x7fdfba507250
when trying to display the view.
My controller code:

class TourViewController: UIViewController, MYIntroductionDelegate {

    override func viewDidLoad() {     
        super.viewDidLoad()
        let frame = CGRectMake(0, 0, view.frame.size.width, view.frame.size.height),
        introductionPanels = [
            MYIntroductionPanel(frame: frame, nibNamed: "WelcomeTour1"),
            MYIntroductionPanel(frame: frame, nibNamed: "WelcomeTour2"),
            MYIntroductionPanel(frame: frame, nibNamed: "WelcomeTour3"),
            MYIntroductionPanel(frame: frame, nibNamed: "WelcomeTour4")
        ],
        introductionView = MYBlurIntroductionView(frame: frame)
        introductionView.buildIntroductionWithPanels(introductionPanels)
        introductionView.delegate = self
        view.addSubview(introductionView)
    }

}

What could be the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions