This makes the class common. There are no examples of common classes in the standard Swift library, but it has very well-known common structures and enumerations:
public struct Array<Element> : CollectionType, MutableCollectionType, _DestructorSafeContainer
public struct Dictionary<Key : Hashable, Value> : CollectionType, DictionaryLiteralConvertible
public enum Optional<Wrapped> : _Reflectable, NilLiteralConvertible
Learn more about generics in the Generics section of Swift Programming .
source
share