removeContentUnsupported(by:)
Remove all contents that is not supported by the provided feature set.
Declaration
mutating func removeContentUnsupported(by featureSet: FeatureSet)Parameters
- featureSet:
The feature set to limit this data model to.
Discussion
After calling this method featureSet.isSubset(of: features) will be true.