Republic Project MRAID SDK  1.0
 All Classes Functions Properties
RPEventKit.h
1 //
2 // Copyright 2012 ArcTouch, Inc.
3 // All rights reserved.
4 //
5 // This file, its contents, concepts, methods, behavior, and operation
6 // (collectively the "Software") are protected by trade secret, patent,
7 // and copyright laws. The use of the Software is governed by a license
8 // agreement. Disclosure of the Software to third parties, in any form,
9 // in whole or in part, is expressly prohibited except as authorized by
10 // the license agreement.
11 //
12 #import <EventKit/EventKit.h>
13 #import <EventKitUI/EventKitUI.h>
14 
15 @protocol RPEventKitDelegate;
16 
20 @interface RPEventKit : NSObject <EKEventEditViewDelegate>
21 
22 @property (nonatomic, assign) id<RPEventKitDelegate> delegate;
23 @property (nonatomic, strong) NSString *currentId;
24 
30 - (id)initWithViewController:(UIViewController *)viewController;
31 
35 - (void)addEvent:(NSDictionary *)eventDictionary;
36 
37 @end
38 
39 
40 @protocol RPEventKitDelegate <NSObject>
41 
42 - (void)eventKit:(RPEventKit *)eventKit didFinishAddingEvent:(BOOL)success;
43 
44 @end