removeStroke(for:)
Removes the associated stroke for the given id from the set.
Declaration
@discardableResult mutating func removeStroke(for id: UUID) -> PKStroke?Parameters
- id:
The id of the stroke to remove.
Return Value
The associated stroke for id if the set contains id; otherwise, nil.