-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: WSM-8 - all in place with staging url hard-coded
The Objective C interface must have String
- Loading branch information
Thierry Vilmart
committed
Feb 16, 2022
1 parent
1072c4b
commit 4ea3cc6
Showing
6 changed files
with
255 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
livemap-ios-sdk.xcodeproj/xcshareddata/xcschemes/universal.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1320" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "06516E3A2458261100027677" | ||
BuildableName = "universal" | ||
BlueprintName = "universal" | ||
ReferencedContainer = "container:livemap-ios-sdk.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<Testables> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "06516E3A2458261100027677" | ||
BuildableName = "universal" | ||
BlueprintName = "universal" | ||
ReferencedContainer = "container:livemap-ios-sdk.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
|
||
public struct Coordinates: Codable { | ||
let latitude: Double?; | ||
let longitude: Double?; | ||
let altitude: Double?; | ||
|
||
/// - Parameters: | ||
/// - latitude: Double | ||
/// - longitude: Double | ||
/// - altitude: Double | ||
public init(latitude: Double? = nil, | ||
longitude: Double? = nil, | ||
altitude: Double? = nil) { | ||
self.latitude = latitude | ||
self.longitude = longitude | ||
self.altitude = altitude | ||
} | ||
} | ||
|
||
public struct BoundingBox: Codable { | ||
let northEast: Coordinates?; | ||
let southWest: Coordinates?; | ||
|
||
/// - Parameters: | ||
/// - northEast: Coordinates | ||
/// - southWest: Coordinates | ||
public init(northEast: Coordinates? = nil, | ||
southWest: Coordinates? = nil) { | ||
self.northEast = northEast | ||
self.southWest = southWest | ||
} | ||
} | ||
|
||
public struct MapMoved: Codable { | ||
let zoom: Double?; | ||
let bounds: BoundingBox?; | ||
let latitude: Double?; | ||
let longitude: Double?; | ||
|
||
/// - Parameters: | ||
/// - zoom: Double | ||
/// - bounds: BoundingBox | ||
/// - latitude: Double | ||
/// - longitude: Double | ||
public init(zoom: Double? = nil, | ||
bounds: BoundingBox? = nil, | ||
latitude: Double? = nil, | ||
longitude: Double? = nil) { | ||
self.zoom = zoom | ||
self.bounds = bounds | ||
self.latitude = latitude | ||
self.longitude = longitude | ||
} | ||
} | ||
|
||
// from snippet.config.json | ||
public struct MaxBoundsSnippet: Codable { | ||
let _northEast: MaxBoundsSnippetCoords?; | ||
let _southWest: MaxBoundsSnippetCoords?; | ||
} | ||
|
||
public struct MaxBoundsSnippetCoords: Codable { | ||
let lat: Double?; | ||
let lng: Double?; | ||
} | ||
|
Oops, something went wrong.