-
Notifications
You must be signed in to change notification settings - Fork 348
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
Stuck #345
Labels
Comments
I have edited the code and this is how it looks like `
} Now I have this error Thread 1: "You must use [EKEvent eventWithEventStore:] to create an event" I will really lose my mind. Please help @richardtop |
Please post on stackoverflow first. |
Let's continue there. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New Issue Checklist
Issue Description
Hi @richardtop I dont like to create tons of topics but my brain is melting and I cant figure it out.
So the reason I am using CalenderKit is basically getting a user calendar data and show it to other related user.
First side everything works great, no dubt. I am capturing 35 days of calendar data and pulling it to firebase with +startdate +endDate +isallDay + color + title with for - in loop.
Second side with same path I am taking that captured user's data with for in loop, append it and keeping it and what happens is when I try to do .map(EKWrapper.init) that variable I am having this issue
public var color: UIColor {
get {
UIColor(cgColor: ekEvent.calendar.cgColor) ==>> error : Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value <<== .calender is red and underlined. Please find the code I use below:
}
}
Code I'm using with CalendarKit
Result I am trying to achieve
StackOverflow Question link
The text was updated successfully, but these errors were encountered: