removeSubgroup(_:from:)
Remove a subgroup from the specified parent group.
Declaration
func removeSubgroup(_ subgroup: CNGroup, from group: CNGroup)Parameters
- subgroup:
The subgroup to remove.
- group:
The parent group containing
subgroup.
Discussion
If you previously tried to add subgroup to group in the same save request, calling this method undoes that addition. The last change you make is the one that takes effect.