WebView's mainframe returns nil during WindowDidLoad?
WebView's mainframe returns nil during WindowDidLoad?
- Subject: WebView's mainframe returns nil during WindowDidLoad?
- From: "Theodore H. Smith" <email@hidden>
- Date: Fri, 6 Jan 2006 18:29:14 +0000
This code within my NSWindowController:
- (void)windowDidLoad {
id mf = [MyWebView mainFrame];
[mf loadRequest: [NSURLRequest requestWithURL:[NSURL
URLWithString:@"http://apple.com/"]]];
}
Here, mf is nil.
Is there some kind of event I can put code into, so that I can get a
WebView to have a default page loaded? As it is, I can't use
windowDidLoad for this event.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden