Re: Call getElementById in Cocoa
Re: Call getElementById in Cocoa
- Subject: Re: Call getElementById in Cocoa
- From: Pierce Freeman <email@hidden>
- Date: Mon, 24 Nov 2008 18:32:52 -0800
- Thread-topic: Call getElementById in Cocoa
Sorry for my newbie-ness, but I still don't really get what you are talking
about. Are you saying that I should do this:
[WebView setFrameLoadDelegate:didFinishLoadForFrame];
- (void)didFinishLoadForFrame
{
// Do stuff
}
Sincerely,
Pierce F.
On 11/24/08 6:02 PM, "Adam R. Maxwell" <email@hidden> wrote:
>
> On Nov 24, 2008, at 5:53 PM, Pierce Freeman wrote:
>
>> Thanks for your response, though I am wondering how I could make the
>> delegate method. I know how to do it for NSWorkspace, however not for
>> WebKit.
>
> Call -[WebView setFrameLoadDelegate:] and then implement whatever
> WebFrameLoadDelegate methods you want (such as
> webView:didFinishLoadForFrame: and
> webView:didFailLoadWithError:forFrame:) in the delegate. Check -
> [WebView isLoading] in your delegate implementation, and when it
> returns NO, you're done and can operate on the view or handle the error.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden