MURange

public struct MURange<Bound> where Bound : Numeric

Class that act like NSRange and Range merged.

  • NSRange location equivalent

    Declaration

    Swift

    public var location: Bound
  • NSRange length equivalent

    Declaration

    Swift

    public var length: Bound
  • Initializes and returns a newly allocated MURange.

    Declaration

    Swift

    public init(location: Bound, length: Bound)
  • Range lowerBound equivalent

    Declaration

    Swift

    public var lowerBound: Bound { get set }
  • Range upperBound equivalent

    Declaration

    Swift

    public var upperBound: Bound { get set }