Instance Method
インスタンスメソッド
mutableCopy()
Technology
- Objective-C Runtime
Objective-Cランタイム
Declaration
宣言
func mutableCopy() -> Any
Return Value
戻り値
The object returned by the NSMutableCopying
protocol method mutableCopy(with:)
, where the zone is nil
.
Discussion
解説
This is a convenience method for classes that adopt the NSMutableCopying
protocol. An exception is raised if there is no implementation for mutableCopy(with:)
.
See Also
参照
Creating, Copying, and Deallocating Objects
オブジェクトの作成、複製、そして割り当て解除
init()
Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated.
サブクラスによって実装されて、新しいオブジェクト(レシーバ)を、それのためのメモリが割り当てられた直後に初期化します。