説明を見る。00001
00009 #import <UIKit/UIKit.h>
00010
00011 @protocol MixiOrientationDelegate;
00012
00025 @interface MixiWebViewController : UIViewController {
00027 IBOutlet UIToolbar *toolbar_;
00028
00030 NSString *toolbarTitle_;
00031
00033 UIColor *toolbarColor_;
00034
00036 IBOutlet UIBarButtonItem *closeButton_;
00037
00039 IBOutlet UILabel *titleLabel_;
00040
00042 IBOutlet UIWebView *webView_;
00043
00045 NSURL *url_;
00046
00048 NSString *html_;
00049
00051 id<UIWebViewDelegate> delegate_;
00052
00054 id<MixiOrientationDelegate> orietationDelegate_;
00055 }
00056
00057 @property (nonatomic, retain) NSURL *url;
00058 @property (nonatomic, assign) NSString *html;
00059 @property (nonatomic, assign) id<UIWebViewDelegate> delegate;
00060 @property (nonatomic, assign) id<MixiOrientationDelegate> orientationDelegate;
00061 @property (nonatomic, copy) NSString *toolbarTitle;
00062 @property (nonatomic, retain) UIColor *toolbarColor;
00063
00069 - (IBAction)close:(id)sender;
00070
00077 - (id)initWithURL:(NSURL*)url;
00078
00086 - (id)initWithURL:(NSURL*)url delegate:(id<UIWebViewDelegate>)delegate;
00087
00095 - (id)initWithHTML:(NSString*)html delegate:(id<UIWebViewDelegate>)delegate;
00096
00097 @end