Properties

public extension Properties

For any property list, rapidly determine if the bridgable properties are included

  • Determines if the properties include at least one of the properties in the supplied array

    Declaration

    Swift

    func hasProperty<EngineProperty>(in properties: [EngineProperty]) -> Bool where EngineProperty : BridgableProperty

    Parameters

    properties

    The properties to check for

    Return Value

    true if at least one of the properties exists

  • Creates a new Properties object by merging this set with the passed Properties, if there is a collision the passed Properties value will be used

    Declaration

    Swift

    func overridingWith(_ properties: Properties) -> Properties

    Parameters

    properties

    The properties to merge. If there is a collision these will take priority

    Return Value

    The resultant merged Properties