Skip to content

Files

Latest commit

0f2eeaf · Sep 4, 2021

History

History
27 lines (18 loc) · 775 Bytes

Capable.md

File metadata and controls

27 lines (18 loc) · 775 Bytes

STRUCT

Capable

public struct Capable

This class defines the main interface of the Capable framework.

Methods

init(withFeatures:)

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.

Parameters

Name Description
features An optional array containing the features of interest. This will default to all features available on the current platform.