i'm confused about an error while i'm trying an url in a view. while compiling i get the following 2 errors (in h-file an in m-file):
Expected identifier before '*' token
maybe anybody can help me out of my trouble? thanks in advance!
my code:
File "RssWebViewController.h":
#import "RssWebViewController.h"
- (void)NavigateToUrl:(NSString) *url{
NSURL *requestUrl = [NSURL URLWithString:self.url];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[webView loadRequest:requestObj]
}
File "RssWebViewController.h":
#import <UIKit/UIKit.h>
@interface RssWebViewController : UIView {
UIWebView *WebView;
}
@property (nonatomic, retain) IBOutlet UIWebView *WebView;
- (void) NavigateToUrl:(NSString) *url;
@end