-
Notifications
You must be signed in to change notification settings - Fork 109
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
Does not conform to protocol #51
Comments
Hi) |
That is there, too. It is really weird, because I created a test project and it works in that, but not in my main project. I have no clue what it could be. |
@kvyatkovskys This is happening while building, not a runtime error. So even if I hadn't set the delegate I shouldn't see that error. Another error I see is Candidate has non-matching type '() -> [Event]' |
Can you show me your code? |
@kvyatkovskys The workaround I found was to just copy the files into my project instead of using the pod. I think there is something messed up with the pod, likely for my project, because I could use the pod in a fresh project and it worked fine. Also worked fine with your example. |
🤔 so, you just copied the files to project manually? without CocoaPods or Carthage |
@kvyatkovskys Right. I did find the actual solution, though. I cleared the cocoapods cache and installed the pod again and it worked. So it was an issue on my end. |
Cool) |
extension JobDetailsViewController: CalendarDataSource {
func eventsForCalendar() -> [Event] {
return events
}
}
This is the code for the data source, but I get the 'Does not conform to protocol' error. Any thoughts?
The text was updated successfully, but these errors were encountered: