Closed nincao closed 8 years ago
Hi, have you tried to do this instead?
// 1. You must instantiate with the class function instantiate() let selector = WWCalendarTimeSelector.instantiate()
hello, I got same issue, i manually drag 'source' files to my projects, and check copy item if needed i change module to my project and get same error and yes, i added 'WWCalendarTimeSelector.instantiate()' did i get wrong import files or something?
Hi, I'm not entirely sure why this happens as I'm relatively new to creating libraries, and I'm not entirely sure how it works when you drag and drop source codes from libraries like mine.
Anyone from the community could assist in resolving this? (:
hello i found the problem is, first get ClockView on storyboard
second you can remove module on that view(im not sure about remove this module, but its work 😄
@ajijoyo thanks a lot, parabens obrigado.
Class: WWCalendarTimeSelector.swift
"Line 606: let picker = UIStoryboard(name: "WWCalendarTimeSelector", bundle: bundle).instantiateInitialViewController() as! WWCalendarTimeSelector"
Note that when the project does not have the same name "Executable file" generates error. I changed like this in the attached image and resolved the error line 606. But spawned another error. I changed "Custom Class" the "Module" field to the name of the current project.
and new error
Generates error from this point. Line 671: clockView.delegate = self