https://github.com/hyperoslo/hypeventmanager
HYPEventManager is the easiest way to add, update and remove iOS calendar events.
https://github.com/hyperoslo/hypeventmanager
Last synced: about 1 year ago
JSON representation
HYPEventManager is the easiest way to add, update and remove iOS calendar events.
- Host: GitHub
- URL: https://github.com/hyperoslo/hypeventmanager
- Owner: hyperoslo
- License: other
- Created: 2014-03-24T21:09:57.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-18T11:30:31.000Z (almost 12 years ago)
- Last Synced: 2024-10-31T15:50:04.492Z (over 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 270 KB
- Stars: 17
- Watchers: 16
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
HYPEventManager
===============
HYPEventManager is the easiest way to add, update and remove iOS calendar events.
### How to create an event with **HYPEventManager**?
``` objc
- (void)createEventWithTitle:(NSString *)title
startDate:(NSDate *)startDate
duration:(NSInteger)duration
completion:(void (^)(NSString *eventIdentifier, NSError *error))completion;
```
### How to update an event with **HYPEventManager**?
``` objc
- (void)updateEvent:(NSString *)eventIdentifier
withTitle:(NSString *)title
startDate:(NSDate *)startDate
endDate:(NSDate *)endDate
completion:(void (^)(NSString *eventIdentifier, NSError *error))completion;
```
### How to delete an event with **HYPEventManager**?
``` objc
- (void)deleteEventWithIdentifier:(NSString *)identifier
completion:(void (^)(NSError *error))completion;
```
### How to check if an event exists with **HYPEventManager**?
``` objc
- (void)isEventInCalendar:(NSString *)eventIdentifier
completion:(void (^)(BOOL found))completion;
```
###TODO:
- Make Demo project.
License
=======
HYPEventManager is fully open source under the MIT license. Check [LICENSE](https://github.com/hyperoslo/HYPEventManager/blob/master/LICENSE.md) for details.
Contributions
=============
If there's something you would like to improve please create a friendly and constructive issue, getting your feedback would be awesome. Have a great day.