Instance Property インスタンスプロパティ

scheme

The scheme URL component, or nil if not present. スキームURL構成要素、または存在しないならばnil

Declaration 宣言

var scheme: String? { get set }

Discussion 議論

For example, in the URL http://www.example.com/index.html, the scheme is http. 例えば、URL http://www.example.com/index.htmlにおいて、スキームはhttpです。

If you attempt to set the scheme to an invalid scheme string, this class throws an exception. あなたがスキームを無効なスキーム文字列に設定するならば、このクラスは例外をスローします。

See Also 参照

Accessing Components in Native Format 構成要素にネイティブ形式でアクセスする