Library for working with repetition rules in Objective-C?

I would like to make some discussion about repetition rules in an Objective-C application (currently on iOS). I would like to do things like work when the next occurrence of a particular event comes from a given point or whether a specific date and time depends on a given rule.

Earlier, I wrote such code in python with dateutil rrule module , which works pretty well, but has not yet found a pleasant Objective C equivalent. There is a class in the Calendar Framework that sounds like it would be useful to the CalRecurrenceRule , but seems to talk about the objects that it produces, so that doesn't help.

Having written a lot of time code in python, I know that it’s difficult to do it right, so I would like to avoid writing repetition logic, so if anyone can recommend a library that can do what I want, which can be used in an iOS application which would be highly appreciated.

- Michael

+5
source share
1 answer

CalRecurrenceRuleis a class that exists on a Mac as part of the CalendarStore structure. It does not exist on iOS. The ion equivalent is the EventKit infrastructure, which has its own class EKRecurrenceRule. What do you want to do with these repetition rules?

0
source

All Articles