No overview available.
Framework
- Web
Kit
No overview available.
Framework
class Web View
Web
is the core view class in the WebKit framework that manages interactions between the Web
and Web
classes. To embed web content in your application, you just create a Web
object, attach it to a window, and send a load(_:)
message to its main frame.
class Web Preferences
WebPreferences encapsulates the preferences you can change per WebView object. These preferences include font, text encoding, and image settings. Normally a WebView object uses the standard preferences returned by the standard()
class method. However, you can modify the preferences for individual WebView instances too. Use the preferences
WebView method to change a WebView object’s preferences, or to share preferences between WebView objects. Use the autosaves
method to specify if the preferences object should be automatically saved to the user defaults database.
protocol Web Editing Delegate
Deprecatedprotocol Web UIDelegate
Web view user interface delegates implement this protocol to control the opening of new windows, augment the behavior of default menu items displayed when the user clicks elements, and perform other user interface–related tasks. These methods can be invoked as a result of handling JavaScript or other plug-in content. Delegates that display more than one web view per window, for example, need to implement some of these methods to handle that case. The default implementation assumes one window per web view, so non-conventional user interfaces might implement a user interface delegate.