Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

WebDownload Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/WebKit.framework
Availability
Available in Mac OS X v10.2 with Safari 1.0 and later.
Available in Mac OS X v10.2.7 and later.
Declared in
WebDownload.h
Companion guides

Overview

WebDownload objects initiate download client requests on behalf of a delegate. A download request involves loading the data, decoding it (if necessary), and saving it to a file. Instances of this class behave similar to NSDownload except delegates of WebDownload may implement an additional delegate method. The method allows the delegate to specify the window to be used for authentication sheets. If the delegate does not implement this method, the WebDownload object will prompt the user for authentication using the standard Web Kit authentication panel, as either a sheet or window. There are no additional methods defined in this class.

Delegate Methods

downloadWindowForAuthenticationSheet:

Returns the window to be used by the authentication sheet.

- (NSWindow *)downloadWindowForAuthenticationSheet:(WebDownload *)sender

Discussion

The default implementation prompts the user for authentication using the standard Web Kit authentication panel, as either a sheet or window.

Availability
Declared In
WebDownload.h

Next Page > Hide TOC


Last updated: 2006-05-23




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice