Instance Method インスタンスメソッド

addSuite(named:)

Inserts the specified domain name into the receiver’s search list. 指定されたドメイン名をレシーバのもつ検索リストへと挿入します。

Declaration 宣言

func addSuite(named suiteName: String)

Parameters パラメータ

suiteName

The domain name to insert. 挿入するドメイン名。

Discussion 議論

The suiteName domain is similar to a bundle identifier string, but isn't necessarily tied to a particular application or bundle. A suite can be used to hold preferences that are shared between multiple applications. suiteNameドメインは、バンドル識別子文字列に似ています、しかし必ずしも特定のアプリケーションまたはバンドルに結びつけられません。あるスイートは、複数のアプリケーション間で共有される環境設定それらを保持するために使うことができます。

The additional search lists of the suiteName domain are searched after the current domain, but before global defaults (that is, when a suite is added, the preferences subsystem first searches the app's user preferences, then searches again as though it were an app with a bundle identifier equal to suiteName, and then finally searches the global preferences). Passing globalDomain or the current application's bundle identifier is unsupported. suiteNameドメインの追加の検索リストは、現在のドメインの後に検索されます、しかしグローバルdefaultsの前に(すなわち、あるスイートが加えられる時、環境設定サブシステムは最初にアプリのもつユーザ環境設定を検索します、それから再びまるでそれがsuiteNameと等しいバンドル識別子をもつアプリだったかのように検索します、そしてそれから最終的にグローバル環境設定を検索します)。globalDomainまたは現在のアプリケーションのもつバンドル識別子を渡すことは、サポートされません。

See Also 参照

Maintaining Suites スイートを保守する

Related Documentation 関連文書