Structures

The following structures are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public struct DeveloperOption
  • Undocumented

    See more

    Declaration

    Swift

    public struct ServerConfiguration
  • AppEnvironment is a handy utility for determining the environment that the library is being run from. Beyond providing Scyther functionality, clients implementing Scyther may also find it useful.

    See more

    Declaration

    Swift

    public struct AppEnvironment
  • Undocumented

    See more

    Declaration

    Swift

    public struct LinkedList<ELEMENT>
    extension LinkedList: Sequence
    extension LinkedList: Collection
    extension LinkedList: MutableCollection
    extension LinkedList: BidirectionalCollection
    extension LinkedList: RangeReplaceableCollection
    extension LinkedList: ExpressibleByArrayLiteral
    extension LinkedList: CustomStringConvertible
    extension LinkedList: Equatable where ELEMENT: Equatable
  • Data class used for providing meaningful messages pertaining an attempt to validate a specific set of conditions.

    See more

    Declaration

    Swift

    public struct Validation
  • Stack A stack is like an array but with limited functionality. You can only push to add a new element to the top of the stack, pop to remove the element from the top, and peek at the top element without popping it off. A stack gives you a LIFO or last-in first-out order. The element you pushed last is the first one to come off with the next pop. Push and pop are O(1) operations.

    ## Usage

     var myStack = Stack(array: [])
     myStack.push(10)
     myStack.push(3)
     myStack.push(57)
     myStack.pop() // 57
     myStack.pop() // 3
    
    See more

    Declaration

    Swift

    public struct Stack<T>