result
The result of a batch-insertion request.
Declaration
var result: Any? { get }Discussion
Cast the result to the type corresponding to resultType to inspect it. The following example shows how to inspect a result type of NSBatchInsertRequestResultType.statusOnly.
let success = batchInsertResult.result as? Bool