STRUCT
public struct Capable
This class defines the main interface of the Capable framework.
public init(withFeatures features: [CapableFeature] = CapableFeature.allCases)
Initializes the framework instance with a specified set of features. If no feature was provided, this defaults to all features available on the current platform.
- Parameters:
- features: An optional array containing the features of interest. This will default to all features available on the current platform.
Name | Description |
---|---|
features | An optional array containing the features of interest. This will default to all features available on the current platform. |