FeatureGroup

public protocol FeatureGroup : FeatureDefinition

A grouping (nesting) of features.

Used to apply some hierarchical struture to feature definitions internally, for logging and debugging user activities.

final class AppFeatures: FeatureGroup {
    static var description = "Demo app features"

    static var subfeatures: [FeatureDefinition.Type] = [
        DocumentManagementFeature.self,
        DocumentSharingFeature.self
    ]
}