Swiftagram Documentation

Structure Location.​Coordinates

public struct Coordinates: Equatable  

A struct holding reference to longitude and latitude.

%187 Location.Coordinates Location.Coordinates Equatable Equatable Location.Coordinates->Equatable

Member Of

Location

A class representing a Location

Conforms To

Equatable

Initializers

init(latitude:​longitude:​)

public init(latitude: CGFloat, longitude: CGFloat)  

Init.

Parameters

latitude CGFloat

A CGFloat repreenting the latitude.

longitude CGFloat

A CGFloat repreenting the longitude.

Properties

longitude

public var longitude: CGFloat

The longitude.

latitude

public var latitude: CGFloat

The latitude.