The container to use for the operation.
- iOS 8.0–11.0Deprecated
- macOS 10.10–10.13Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–11.0Deprecated
- watchOS 3.0–4.0Deprecated
The container sets the context for where the operation should perform its work. The
add(_:) method of both the
CKDatabase classes implicitly sets the value of this property to their container.
If you execute the operation yourself, either directly or using a custom operation queue, it is recommended that you set the value of this property explicitly. If the value is
nil when you execute an operation, the operation object implicitly executes against your app’s default container.