remove(_:) Removes the specified goal from the behavior. Declarationfunc remove(_ goal: GKGoal) Parametersgoal: A goal object. See AlsoManaging a Behavior’s Set of GoalssetWeight(_:for:)weight(for:)removeAllGoals()goalCount