SKSortedEntities
public struct SKSortedEntities<Entity> where Entity : SKByteRange
                Undocumented
- 
                  
                  
Undocumented
Declaration
Swift
public let entities: [Entity] 
- 
                  
                  
Undocumented
Declaration
Swift
public init(entities: [Entity]) 
- 
                  
                  
Returns the annotation with the specified kind, or
nilif nonexistent.Declaration
Swift
public func annotation(with kind: SKAnnotation.Kind) -> SKAnnotation?Parameters
kindThe kind of the annotation to return.
Return Value
The
SKAnnotation, ornilif nonexistent. - 
                  
                  
Returns whether the specified annotation kind is a member of the entities.
Declaration
Swift
public func containsAnnotation(with kind: SKAnnotation.Kind) -> BoolParameters
kindThe kind of the annotation.
Return Value
trueif the annotation kind is a member of the entities; otherwise,false. 
- 
                  
                  
Undocumented
Declaration
Swift
public var first: Entity? { get } - 
                  
                  
Undocumented
Declaration
Swift
public var last: Entity? { get } - 
                  
                  
Undocumented
Declaration
Swift
public var count: Int { get } - 
                  
                  
Declaration
Swift
public func makeIterator() -> IndexingIterator<[Entity]> - 
                  
                  
Undocumented
Declaration
Swift
public func index(of entity: Entity) -> Int? - 
                  
                  
Undocumented
Declaration
Swift
public subscript(index: Int) -> Entity { get } 
- 
                  
                  
Declaration
Swift
public init(from decoder: Decoder) throws - 
                  
                  
Declaration
Swift
public func encode(to encoder: Encoder) throws 
- 
                  
                  
Declaration
Swift
public static func == (lhs: SKSortedEntities<Entity>, rhs: SKSortedEntities<Entity>) -> Bool 
- 
                  
                  
Returns the attribute with the specified kind, or
nilif nonexistent.Declaration
Swift
public func attribute(with kind: SKAttribute.Kind) -> SKAttribute?Parameters
kindThe kind of the attribute to return.
Return Value
The
SKAttribute, ornilif nonexistent. - 
                  
                  
Returns whether the specified attribute kind is a member of the entities.
Declaration
Swift
public func containsAttribute(with kind: SKAttribute.Kind) -> BoolParameters
kindThe kind of the attribute.
Return Value
trueif the attribute kind is a member of the entities; otherwise,false. 
- 
                  
                  
Returns whether the specified element kind is a member of the entities.
Declaration
Swift
public func containsElement(with kind: SKElement.Kind) -> BoolParameters
kindThe kind of the element.
Return Value
trueif the element kind is a member of the entities; otherwise,false. 
        SKSortedEntities Structure Reference