Contents

remove(_:)

Removes the receiver’s selected objects from the content collection.

Declaration

@IBAction func remove(_ sender: Any?)

Parameters

  • sender:

    Typically the object that invoked this method.

Discussion

See removeObject(_:) for a discussion of the semantics of removing objects when using Core Data.

Special Considerations

Beginning with OS X v10.4 the result of this method is deferred until the next iteration of the runloop so that the error presentation mechanism (see Error Responders and Error Recovery) can provide feedback as a sheet.

See Also

Adding and Removing Objects