Fetch all events from EventStore EventKit iOS

Code for fetch all events into array : NSDate *start = … NSDate *finish = … // use Dictionary for remove duplicates produced by events covered more one year segment NSMutableDictionary *eventsDict = [NSMutableDictionary dictionaryWithCapacity:1024]; NSDate* currentStart = [NSDate dateWithTimeInterval:0 sinceDate:start]; int seconds_in_year = 60*60*24*365; // enumerate events by one year segment because iOS do … Read more