You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to do some editing to WRWeekView. I added the next function to the events mark:
public func removeEvent(event: WREvent) {
events = events.filter() { $0 !== event }
forceReload(true)
}
Then in your ViewController WRWeekViewDelegate extension, add
func selectEvent(_ event: WREvent) {
weekView.removeEvent(event: event)
}
You need to hold the event cell instead of just tapping in it in order to make selectEvent function work.
Is there any way to remove event from the view?
The text was updated successfully, but these errors were encountered: