Extensions
The following extensions are available globally.
-
Extends the
String
type to conform to theIndexKey
protocol.This allows
String
values to be used as keys in the indexing system managed by theIndexManager
. By conforming toIndexKey
,String
gains compatibility with any functionality or constraints defined by theIndexKey
protocol.Declaration
Swift
extension String: IndexKey