Type Method

shared()

Returns a singleton DNS proxy manager instance.

Declaration

class func shared() -> NEDNSProxyManager

Return Value

The NEDNSProxyManager instance for the app.

Discussion

Each app is allowed to create a single DNS proxy manager. The shared() type method returns a singleton NEDNSProxyManager instance that your app can use to manage any DNS proxy instances that it creates.

See Also

Managing the DNS Proxy Configuration

func loadFromPreferences(completionHandler: (Error?) -> Void)

Loads the current DNS proxy configuration from the caller's DNS proxy preferences.

func saveToPreferences(completionHandler: (Error?) -> Void)

Saves the DNS proxy configuration in the caller's DNS proxy preferences.

func removeFromPreferences(completionHandler: (Error?) -> Void)

Removes the DNS proxy configuration from the caller's DNS proxy preferences.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software