Array
struct Array<Element> : RandomAccessCollection, MutableCollection
                - 
                  
                  
Initializes a [CLLocation] from a JSON string at a given filePath.
The JSON string must conform to the following structure: [{
latitude
: 37.8, // latitude or latlongitude
: -122.4 // longitude, lng, or lonverticalAccuracy
: 4,speed
: 21.0horizontalAccuracy
: 5,course
: 0.48timestamp
: 1497475447, // timestamp as unix timestamp or ISO8601Datealtitude
: 57.26 }]Declaration
Swift
public static func locations(from filePath: String) -> [CLLocation]!Parameters
filePathThe file’s path.
Return Value
A [CLLocation].
 
              Install in Dash
            
        Array Extension Reference