Questions tagged [calendarkit]
For questions about CalendarKit - a Swift calendar UI library for Apple platforms.
calendarkit
44
questions
1
vote
0
answers
14
views
How do I change current date highlighted color in Calendar Kit in iOS swift?
I want to change the highlighted color of today from red to any other color, how can I do it in CalendarKit?
Check sample image
I have tried to achieve it with DayViewStyle() method but it through an ...
1
vote
0
answers
94
views
I'm looking to integrate CalendarKit library with SwiftUI Representable, facing issue with data handling
I'm attempting to implement CalendarKit using SwiftUI's UIViewControllerRepresentable. The example provided by the library is in UIKit. I've successfully displayed the UI, but when I try to pass dummy ...
1
vote
1
answer
137
views
CalendarKit "Calendar App" would like to access your calendar , authorization pop-up not working
Testing the CalendarApp sample code
https://github.com/richardtop/CalendarApp 1.1.17
Xcode 15.0.1
Built and attached to IOS 17 on iPhone 13, however the events don't populate.
Error (1,013) in reply ...
1
vote
1
answer
296
views
'NSHashTable' requires that 'any MyCustomProtocolAnyObject' be a class type
Curious, why I'm getting this error:
If I declare that only objects can conform to the protocol:
public protocol DayViewStateUpdating: AnyObject {
func move(from oldDate: Date, to newDate: Date)
}...
1
vote
0
answers
50
views
How to add EventView to TimelinePagerView in CalendarKit?
I'm currently trying to create an app that uses the TimelinePagerView from the CalendarKit library, but I cannot add the EventView to the TimelinePagerView.
How can I add an EventView to the ...
1
vote
1
answer
66
views
How to set the minimum and maximum date for dayview?
I want to show only current date with next 90 days.Not to enable other days.Also in scroll not to show the before start dates and after end dates.
How to achieve in calender dayview with start date ...
1
vote
1
answer
51
views
Going from event editor back to calendar creates blacked out area near bottom
I've encountered this problem both in my own CalendarKit app as well as the sample app found here. The issue is that when I click on an event and enter the EKEventViewController and then navigate back,...
1
vote
0
answers
46
views
Events are not loading Calendar with first APICall
I am using SwiftUI, UIKit and external library CalendarKit in my project. The problem is that events don't load while initializing on first load of calendar. When I change date in the in the nav, ...
1
vote
0
answers
101
views
Events don't show on first, main view of calendar
I am using SwiftUI, UIKit and external library CalendarKit in my project. The problem is that events don't load (while initializing ) on first view ( first load ) of calendar ( the current day view ). ...
1
vote
1
answer
117
views
How can i wait for data to be loaded from API and then create events in CalendarKit library
I have a problem with fetching data from API. The DayViewCalendar is creating View before events data is fetched from API.
My main view is in SwiftUI
struct CalendarScreen: View {
@StateObject ...
1
vote
1
answer
87
views
Consecutive events not stacking properly in calendar
I would like the events to fill the entire horizontal space. These events have no overlap, but strangely they are offset. Any ideas what might be causing this, and how I can make the events take up ...
1
vote
0
answers
23
views
Add isCompleted switch and track completed events
There is no story board to this library so where would I add a switch to add a isCompleted reference so I can store reoccurring events as completed or not.
Any ideas thanks
1
vote
1
answer
560
views
You must use [EKEvent eventWithEventStore:] to create an event
I have used CalenderKit on my app. I have 2 types of users my goal is to collect calender data from targeted type and reflect it to other targeted type.
First type went quite well, I have collected ...
2
votes
0
answers
859
views
How to customize CalendarKit with WeekView?
I'm using the https://github.com/richardtop/CalendarKit library to show all events in the calendar.
this library is amazing & it's working fine.
Now, the problem is it's only available with Day ...
0
votes
1
answer
111
views
Unable to create new event using CalendarKit when following online tutorial
Please note that I am attempting to add an appointment on an iPhone 13 Pro Max simulator, where I am not able to create a new event using XCode 13.
I have been basing my code on this sample,
https://...