Type Property 型プロパティ

didChangeNotification

Posted when user defaults are changed within the current process. ユーザdefaultsが現在のプロセス内で変更される時に投函されます。

Declaration 宣言

class let didChangeNotification: NSNotification.Name

Discussion 議論

This notification is posted on the thread that changes the user defaults. The notification object is the UserDefaults object. The notification doesn't contain a userInfo dictionary. この通知は、ユーザdefaultsを変更するスレッド上で投函されます。通知オブジェクトは、UserDefaultsオブジェクトです。通知は、userInfo辞書を含みません。

This notification isn't posted when changes are made outside the current process, or when ubiquitous defaults change. You can use key-value observing to register observers for specific keys of interest in order to be notified of all updates, regardless of whether changes are made within or outside the current process. この通知は、変更が現在のプロセスの外側でなされる時に、またはユビキタスdefaultsが変化する時に、投函されません。あなたはキー値監視を使って、オブザーバを興味ある特定のキーに全ての更新を通知される目的で登録できます、変更が現在のプロセスの内側または外側でなされたかどうかに関係なく。

See Also 参照

Notifications 通知