Questions tagged [ekrecurrencerule]

7 questions
4
votes
0 answers

iCalendar Recurrence Rule to Human Readable Text - Localization for CJK Languages

So far, all online libraries that I've found, offer functionality for converting Rrule strings to human readable strings for the English language only. I tried to modify the code from the Rrule Package (Flutter) (which is mainly based on rrule.js)…
goldensoju
  • 606
  • 1
  • 6
  • 14
3
votes
1 answer

Create EKRecurrenceRule using setPositions

Simple version of question: How do I create an EKRecurrenceRule object using the setPositions field? Longer version of question: I created an event with an EKRecurrenceRule object with the following code in my app: let recurrenceRule =…
Dustin Spengler
  • 5,478
  • 4
  • 28
  • 36
1
vote
1 answer

Adding EKRecurrenceRule to a Reminder not working (Creating a Recurring Event Issue)

I have a function that adds a new reminder. In this function, the reminder will have a reminder title and an alarm for a specific day and time. The function currently looks like this: var eventStore = EKEventStore() var reminders =…
1
vote
0 answers

How to get the next occurrence date for an EKEvent?

I create an EKEvent in calendar with a recurrence pattern. EKRecurrenceRule <0x6000000b0980> RRULE FREQ=WEEKLY;INTERVAL=2;BYDAY=SU,MO;WKST=SU The event is created on sunday May 13, 2018 and should appear every 2 weeks on Sunday and Monday. As…
Teja Nandamuri
  • 11,045
  • 6
  • 57
  • 109
0
votes
2 answers

Set recurrence of Event "repeats every month" instead of "repeats every month, each 31st" ios

I am setting an event for say the 13th of some month and recur it every month. It is getting repeated properly every month. But when set it for 31st of some month it gets set for months with 31st only and in event it shows in Edit->Repeat->repeats…
0
votes
2 answers

how can i set array in EKRecurrenceRule for day of the week?

i want to add event on every week in specific day selected by user. it can be one or more or may be all day. i'm storing day value selected by user in model class variable. But when i adding event and select days suppose today is monday and i…
hardik
  • 199
  • 1
  • 6
  • 21
0
votes
1 answer

How to define EKRecurrenceRule to represent 'Every 4 years only on 4th of July'

I am trying to represent the recurrence rule, Every 4 years only on 4th of July. like this: termin.addRecurrenceRule(EKRecurrenceRule(recurrenceWithFrequency: .Yearly, interval: 4, daysOfTheWeek: nil, daysOfTheMonth: [NSNumber(int:…
Goppinath
  • 10,569
  • 4
  • 22
  • 45