Republic Project MRAID SDK  1.0
 All Classes Functions Properties
RPAdView.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 <UIKit/UIKit.h>
13 
14 @protocol RPAdViewDelegate;
15 
16 @interface RPAdView : UIView <UIWebViewDelegate>
17 
21 @property (nonatomic, strong) id<RPAdViewDelegate> delegate;
22 @property (nonatomic, assign) id target;
23 @property (nonatomic, strong) UIWebView *webView;
24 @property (nonatomic) CGRect defaultPosition;
25 
30 - (void)loadUrl:(NSURL *)url;
31 
32 
36 - (void)updateMraid;
37 
38 @end
39 
40 
44 @protocol RPAdViewDelegate <NSObject>
45 
50 - (void)adViewDidFinishLoad:(RPAdView *)adView;
51 
52 - (void)adView:(RPAdView *)adView didStopLoadWithError:(NSError *)error;
53 
54 @end