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

initWithOrderedSet:copyItems:

Initializes a new ordered set with the contents of a set, optionally copying the items. 新しい順序集合をある集合の内容で初期化します、任意に項目をコピーします。

Declaration 宣言

- (instancetype)initWithOrderedSet:(NSOrderedSet<ObjectType> *)set 
                         copyItems:(BOOL)flag;

Parameters パラメータ

set

A set. 1つの集合。

flag

If YES the objects are copied to the ordered set; otherwise NO. YESならばオブジェクトは順序集合にコピーされます;それ以外ではNO

Return Value 戻り値

An initialized ordered set containing the objects in the set. 集合の中のオブジェクトを含んでいる、初期化された順序集合。

See Also 参照

Initializing an Ordered Set 順序集合を初期化する

Related Documentation 関連文書