Creates a new value equal to zero.
SDK
- Xcode 6.0.1+
Framework
- Swift Standard Library
Creates a new value equal to zero.
SDK
Framework
init(integer Literal: Int)
Creates an instance initialized to the specified integer value.
typealias Int .Integer Literal Type
A type that represents an integer literal.
func distance(to: Int) -> Int
Returns the distance from this value to the given value, expressed as a stride.
func advanced(by: Int) -> Int
Returns a value that is offset the specified distance from this value.