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.