Questions tagged [calendarkit]

For questions about CalendarKit - a Swift calendar UI library for Apple platforms.

CalendarKit is a fully customizable calendar library written in Swift. It was designed to look similar to the iOS Calendar app, but allow customization if needed. To make modifications easier, CalendarKit is composed of multiple small modules. They can be used together, or on their own.

41 questions
1
vote
1 answer

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 the date range data and simply pulled it to…
Ugur Usta
  • 21
  • 1
  • 4
1
vote
1 answer

Unable to create new event using CalendarKit

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://github.com/richardtop/CalendarApp Here is the…
user8128167
  • 6,929
  • 6
  • 66
  • 79
1
vote
0 answers

How to assign different color to different event in Calendar Kit in iOS Swift

I want to achieve a task in which i want to add different colors for different events using Calendar Kit pod.
1
vote
1 answer

UIKit: How can i resize a Viewcontroller to fit splitview primary column?

In my UIKit App i am using a UISplitViewController() as my rootViewController. I configure it in my SceneDelegate like this: var splitView: UISplitViewController? func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options…
Niklas
  • 1,638
  • 4
  • 19
  • 48
1
vote
1 answer

UISplitViewController - doubleColumn Style not working

In my app, i am using a UISplitViewController like this: let splitViewController = UISplitViewController() splitViewController.preferredDisplayMode = .oneBesideSecondary splitViewController.viewControllers = [ …
Niklas
  • 1,638
  • 4
  • 19
  • 48
1
vote
0 answers

How can i execlude subview from parent clip in UIKit?

In my iOS App, i am using CalendarKit, a Framework to create a full-featured Calendar. I want to modify the EventView to add rounded corners. To do that, i configure the EventView Class like this: private func configure() { clipsToBounds = true …
Niklas
  • 1,638
  • 4
  • 19
  • 48
1
vote
0 answers

Build iOS Calendar like Day View using scrollview or collectionview

I've been trying to bring my app to iPad, and i wanted to implement a day view like there is in the iOS Calendar. I found some awesome libraries on GitHub, which do almost everything i want, the problem is, that i want to use my custom event model,…
1
vote
0 answers

Not getting selected event when eventsWillOverlap is true

I am using Calenderkit (https://github.com/richardtop/CalendarKit)in my project. I am unable to get selected event obj data in delegate method when eventsWillOverlap is true. getting correctly if eventsWillOverlap is false. below is the code I…
1
vote
1 answer

Create event across days in CalendarKit

Is it possible to create an event with a different start date and time and end date and time? Example start date is 2021-04-15 23:00 end date is 2021-04-16 02:00
sukkuuuuu
  • 13
  • 3
1
vote
1 answer

How to change the value of y in CalendarKit?

I use the CalendarKit cocoapods I want to have a space between date view and timeline view. But I only find a way that is changing the y value in the code below override public func layoutSubviews() { super.layoutSubviews() …
Alice Wei
  • 21
  • 2
1
vote
1 answer

How to put date into navigation title?

I am studying on swift, and I have a project using CalendarKit. I want to put date into navigation title so that can change current date while swiping. But I have no idea on it...
Alice Wei
  • 21
  • 2
1
vote
1 answer

CalendarKit SwiftUI Events

Having trouble adding events, using CalendarKit. Trying to plot a testing event and it does not display. Docs say that CalendarKit requires an CalendarKit requires EventDataSource to return an array of objects conforming to EventDescriptor…
Carterman
  • 219
  • 1
  • 7
1
vote
1 answer

Value of type 'Date' has no member 'format' & Value of type 'Date' has no member 'hours'

I have added CalendarKit in my project using swift package Manager, I tried with cocoapods as well but still I am getting the below errors: I have added import CalendarKit as well. 1) Value of type 'Date' has no member 'format' let timezone =…
Mihir Oza
  • 2,768
  • 3
  • 35
  • 61
1
vote
0 answers

How to call DayViewController's create event from SwiftUI

I have followed this stackoverflow answer to bridge a custom DayViewController with a SwiftUI view. And it is all working great. Except, when I need to create a new event I open up a .sheet() to let the users edit the event. (I have a custom struct…
lubster96
  • 11
  • 2
1
vote
1 answer

Is there a way to change date from another struct using CalendarKit?

I'm using CalendarKit and SwiftUI. I need to create "Today" button and Date Picker to select date, but I didn't foudn any solution, so is there a way to change the date or call somethign like move(to date: Date) function from another view?