Skip to content
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

Use of undeclared type 'FSCalendarMonthPosition' #568

Closed
ghost opened this issue Jan 27, 2017 · 5 comments
Closed

Use of undeclared type 'FSCalendarMonthPosition' #568

ghost opened this issue Jan 27, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Jan 27, 2017

When I install FSCalendar and attempt to use it, it will always give me the error:
Use of undeclared type 'FSCalendarMonthPosition'

This does not allow me to use FSCalendarMonthPosition in the didselect function because of that.

Integration method: Cocoapods

Steps:

1.Add pod 'FSCalendar' to podfile and install.
2. Create view controller with a calendar.
3. Create UIViewController file and add code.

Device modal and IOS version: iPhone 6s IOS 10.2
XCode version: 8.2.1

FSCalendar Version: 2.3.3

This does NOT happen in the demo project in FSCalendar-master/Example-Swift

@lokeshvunnam1989
Copy link

Hey i'm getting the same problem. Did you find solution for it?

@lokeshvunnam1989
Copy link

Hey got it.. use below method..
func calendar(_ calendar: FSCalendar, didSelect date: Date) { }

@WenchaoD
Copy link
Owner

WenchaoD commented Feb 4, 2017

This type is introduced in a later version than 2.3.3. The latest is 2.7.1.

@WenchaoD WenchaoD closed this as completed Feb 4, 2017
@NarendraGumma
Copy link

No such module 'FSCalendar' while importing in my viewController

@ajonno
Copy link

ajonno commented Nov 20, 2018

I'm seeing this error today too after installing. Downloaded the demo project from here and built/worked no problems at all. XCode 10.

What other setting(s) are required to incorporate this library cleanly into a project ?

2018-11-20_17-31-18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants