Functions

The following functions are available globally.

  • Convenience function for setting specific values for Keychain queries.

    If the value is nil, the attribute will not be added.

    Declaration

    Swift

    fileprivate func set<T>(_ query: inout KeychainQuery, key: CFString, value: T?)

    Parameters

    query

    The query, for which an attribute should be set.

    key

    The key/name of the attribute.

    value

    The value of the attribute.