SwiftagramCrypto Documentation

Structure Location

public struct Location: Wrapped  

A class representing a Location

%283 Location Location Wrapped Wrapped Location->Wrapped

Nested Types

Location.Coordinates

A struct holding reference to longitude and latitude.

Location.Unit

A struct representing a single Location response.

Location.Collection

A struct representing a Location collection.

Conforms To

Wrapped

Initializers

init(wrapper:​)

public init(wrapper: @escaping () -> Wrapper)  

Init.

Parameters

wrapper @escaping () -> Wrapper

A valid Wrapper.

Properties

wrapper

public var wrapper: () -> Wrapper

The underlying Response.

coordinates

public var coordinates: Coordinates?  

The latitude.

name

public var name: String?  

The name.

short​Name

public var shortName: String?  

The short name. Only populated for summary.

address

public var address: String?  

The address.

city

public var city: String?  

The city. Only populated for summary.

identifier

public var identifier: [String: Int]?  

The external id (value), paired with its source (key).