swift-week-view icon indicating copy to clipboard operation
swift-week-view copied to clipboard

How to set the Event for particular time of day

Open mohitordex opened this issue 1 year ago • 1 comments

Hi Sir, I have checked your library and it is amazing, I have to use this library in one of my project, But i struggling with Setting an Event.

I have checked the demo project ("ECWeekViewExample") and found this code for SWIFT:

let lunchStart = date.dateBySet(hour: 12, min: 0, secs: 0)! let lunchEnd = date.dateBySet(hour: 13, min: 0, secs: 0)! let lunch = ECWeekViewEvent(title: "Lunch", subtitle: "lunch", start: lunchStart, end: lunchEnd)

This Event is Set for EveryDay!, Can you please let me know is there a way to set it for particular single day only. If YES then please let me know HOW ? Please help me out. Any guidance will be appreciated.

Thank you.

mohitordex avatar Apr 28 '23 06:04 mohitordex

@EvanCooper9

mohitordex avatar Apr 28 '23 06:04 mohitordex