Type Method 型メソッド

propertyListFromData:mutabilityOption:format:errorDescription:

This method is deprecated. Use dataWithPropertyList:format:options:error: instead. このメソッドは非推奨にされます。dataWithPropertyList:format:options:error:を代わりに使ってください。

Declaration 宣言

+ (id)propertyListFromData:(NSData *)data 
          mutabilityOption:(NSPropertyListMutabilityOptions)opt 
                    format:(NSPropertyListFormat *)format 
          errorDescription:(out NSString * _Nullable *)errorString;

Parameters パラメータ

data

A data object containing a serialized property list. シリアライズされたプロパティリストを含んでいるデータオブジェクト。

opt

The options used to create the property list. For possible values, see NSPropertyListMutabilityOptions. プロパティリストを作成するのに使われるオプション。可能な値として、NSPropertyListMutabilityOptionsを見てください。

format

If the property list is valid, upon return contains the format. format can be nil, in which case the property list format is not returned. For possible values, see NSPropertyListFormat. プロパティリストが有効ならば、戻りではフォーマットを含みます。formatnilであることができます、その場合にはプロパティリストフォーマットは返されません。可能な値として、NSPropertyListFormatを見てください。

errorString

Upon return, if the conversion is successful, errorString is nil. If the conversion fails, upon return contains a string describing the nature of the error. 戻りでは、変換が成功であるならば、errorStringnilです。変換が失敗するならば、戻りではエラーの本質を記述している文字列を含みます。

Return Value 戻り値

A property list object corresponding to the representation in data. If data is not in a supported format, returns nil. dataにおける表現に相当するプロパティリストオブジェクト。dataがサポートされるフォーマットでないならば、nilを返します。

See Also 参照

Obsolete Methods 旧式メソッド

Related Documentation 関連文書