@capawesome/capacitor-pixlive 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CapawesomeCapacitorPixlive.podspec +30 -0
- package/Package.swift +28 -0
- package/README.md +1012 -0
- package/android/build.gradle +64 -0
- package/android/src/main/AndroidManifest.xml +8 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/Pixlive.java +704 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/PixliveHelper.java +112 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/PixlivePlugin.java +691 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/TouchInterceptorView.java +94 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/CustomException.java +20 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/CustomExceptions.java +29 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/ActivateContextOptions.java +29 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/CreateARViewOptions.java +68 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/EnableContextsWithTagsOptions.java +30 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/GetContextOptions.java +29 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/GetGPSPointsInBoundingBoxOptions.java +68 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/GetNearbyGPSPointsOptions.java +40 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/ResizeARViewOptions.java +68 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/SetARViewTouchEnabledOptions.java +26 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/SetARViewTouchHoleOptions.java +68 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/SetInterfaceLanguageOptions.java +29 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/SetNotificationsSupportOptions.java +26 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/SynchronizeOptions.java +30 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/SynchronizeWithToursAndContextsOptions.java +66 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/options/UpdateTagMappingOptions.java +30 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/results/GetContextResult.java +23 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/results/GetContextsResult.java +24 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/results/GetGPSPointsInBoundingBoxResult.java +24 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/results/GetNearbyBeaconsResult.java +24 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/results/GetNearbyGPSPointsResult.java +24 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/classes/results/GetVersionResult.java +24 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/interfaces/Callback.java +5 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/interfaces/EmptyCallback.java +5 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/interfaces/NonEmptyCallback.java +7 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/interfaces/NonEmptyResultCallback.java +7 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/pixlive/interfaces/Result.java +7 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +2107 -0
- package/dist/esm/definitions.d.ts +825 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +31 -0
- package/dist/esm/web.js +85 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +99 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +102 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/CapacitorARViewController.swift +17 -0
- package/ios/Plugin/Classes/Options/ActivateContextOptions.swift +16 -0
- package/ios/Plugin/Classes/Options/CreateARViewOptions.swift +47 -0
- package/ios/Plugin/Classes/Options/EnableContextsWithTagsOptions.swift +16 -0
- package/ios/Plugin/Classes/Options/GetContextOptions.swift +16 -0
- package/ios/Plugin/Classes/Options/GetGPSPointsInBoundingBoxOptions.swift +43 -0
- package/ios/Plugin/Classes/Options/GetNearbyGPSPointsOptions.swift +25 -0
- package/ios/Plugin/Classes/Options/ResizeARViewOptions.swift +47 -0
- package/ios/Plugin/Classes/Options/SetARViewTouchEnabledOptions.swift +16 -0
- package/ios/Plugin/Classes/Options/SetARViewTouchHoleOptions.swift +43 -0
- package/ios/Plugin/Classes/Options/SetInterfaceLanguageOptions.swift +16 -0
- package/ios/Plugin/Classes/Options/SetNotificationsSupportOptions.swift +16 -0
- package/ios/Plugin/Classes/Options/SynchronizeOptions.swift +16 -0
- package/ios/Plugin/Classes/Options/SynchronizeWithToursAndContextsOptions.swift +34 -0
- package/ios/Plugin/Classes/Options/UpdateTagMappingOptions.swift +16 -0
- package/ios/Plugin/Classes/Results/GetContextResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetContextsResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetGPSPointsInBoundingBoxResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetNearbyBeaconsResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetNearbyGPSPointsResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetVersionResult.swift +16 -0
- package/ios/Plugin/Enums/CustomError.swift +86 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Pixlive.swift +495 -0
- package/ios/Plugin/PixliveHelper.swift +91 -0
- package/ios/Plugin/PixlivePlugin.swift +503 -0
- package/ios/Plugin/Protocols/Result.swift +6 -0
- package/ios/Plugin/TouchForwarderView.swift +24 -0
- package/package.json +93 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Capacitor
|
|
2
|
+
|
|
3
|
+
@objc public class SetARViewTouchEnabledOptions: NSObject {
|
|
4
|
+
let enabled: Bool
|
|
5
|
+
|
|
6
|
+
init(_ call: CAPPluginCall) throws {
|
|
7
|
+
self.enabled = try SetARViewTouchEnabledOptions.getEnabledFromCall(call)
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
private static func getEnabledFromCall(_ call: CAPPluginCall) throws -> Bool {
|
|
11
|
+
guard let enabled = call.getBool("enabled") else {
|
|
12
|
+
throw CustomError.enabledMissing
|
|
13
|
+
}
|
|
14
|
+
return enabled
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import Capacitor
|
|
2
|
+
|
|
3
|
+
@objc public class SetARViewTouchHoleOptions: NSObject {
|
|
4
|
+
let top: Int
|
|
5
|
+
let bottom: Int
|
|
6
|
+
let left: Int
|
|
7
|
+
let right: Int
|
|
8
|
+
|
|
9
|
+
init(_ call: CAPPluginCall) throws {
|
|
10
|
+
self.top = try SetARViewTouchHoleOptions.getTopFromCall(call)
|
|
11
|
+
self.bottom = try SetARViewTouchHoleOptions.getBottomFromCall(call)
|
|
12
|
+
self.left = try SetARViewTouchHoleOptions.getLeftFromCall(call)
|
|
13
|
+
self.right = try SetARViewTouchHoleOptions.getRightFromCall(call)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
private static func getTopFromCall(_ call: CAPPluginCall) throws -> Int {
|
|
17
|
+
guard let value = call.getInt("top") else {
|
|
18
|
+
throw CustomError.topMissing
|
|
19
|
+
}
|
|
20
|
+
return value
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
private static func getBottomFromCall(_ call: CAPPluginCall) throws -> Int {
|
|
24
|
+
guard let value = call.getInt("bottom") else {
|
|
25
|
+
throw CustomError.bottomMissing
|
|
26
|
+
}
|
|
27
|
+
return value
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
private static func getLeftFromCall(_ call: CAPPluginCall) throws -> Int {
|
|
31
|
+
guard let value = call.getInt("left") else {
|
|
32
|
+
throw CustomError.leftMissing
|
|
33
|
+
}
|
|
34
|
+
return value
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
private static func getRightFromCall(_ call: CAPPluginCall) throws -> Int {
|
|
38
|
+
guard let value = call.getInt("right") else {
|
|
39
|
+
throw CustomError.rightMissing
|
|
40
|
+
}
|
|
41
|
+
return value
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Capacitor
|
|
2
|
+
|
|
3
|
+
@objc public class SetInterfaceLanguageOptions: NSObject {
|
|
4
|
+
let language: String
|
|
5
|
+
|
|
6
|
+
init(_ call: CAPPluginCall) throws {
|
|
7
|
+
self.language = try SetInterfaceLanguageOptions.getLanguageFromCall(call)
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
private static func getLanguageFromCall(_ call: CAPPluginCall) throws -> String {
|
|
11
|
+
guard let language = call.getString("language") else {
|
|
12
|
+
throw CustomError.languageMissing
|
|
13
|
+
}
|
|
14
|
+
return language
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Capacitor
|
|
2
|
+
|
|
3
|
+
@objc public class SetNotificationsSupportOptions: NSObject {
|
|
4
|
+
let enabled: Bool
|
|
5
|
+
|
|
6
|
+
init(_ call: CAPPluginCall) throws {
|
|
7
|
+
self.enabled = try SetNotificationsSupportOptions.getEnabledFromCall(call)
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
private static func getEnabledFromCall(_ call: CAPPluginCall) throws -> Bool {
|
|
11
|
+
guard let enabled = call.getBool("enabled") else {
|
|
12
|
+
throw CustomError.enabledMissing
|
|
13
|
+
}
|
|
14
|
+
return enabled
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Capacitor
|
|
2
|
+
|
|
3
|
+
@objc public class SynchronizeOptions: NSObject {
|
|
4
|
+
let tags: [[String]]
|
|
5
|
+
|
|
6
|
+
init(_ call: CAPPluginCall) throws {
|
|
7
|
+
self.tags = try SynchronizeOptions.getTagsFromCall(call)
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
private static func getTagsFromCall(_ call: CAPPluginCall) throws -> [[String]] {
|
|
11
|
+
guard let tagsArray = call.getArray("tags") as? [[String]] else {
|
|
12
|
+
throw CustomError.tagsMissing
|
|
13
|
+
}
|
|
14
|
+
return tagsArray
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import Capacitor
|
|
2
|
+
|
|
3
|
+
@objc public class SynchronizeWithToursAndContextsOptions: NSObject {
|
|
4
|
+
let tags: [[String]]
|
|
5
|
+
let tourIds: [Int]
|
|
6
|
+
let contextIds: [String]
|
|
7
|
+
|
|
8
|
+
init(_ call: CAPPluginCall) throws {
|
|
9
|
+
self.tags = try SynchronizeWithToursAndContextsOptions.getTagsFromCall(call)
|
|
10
|
+
self.tourIds = try SynchronizeWithToursAndContextsOptions.getTourIdsFromCall(call)
|
|
11
|
+
self.contextIds = try SynchronizeWithToursAndContextsOptions.getContextIdsFromCall(call)
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
private static func getTagsFromCall(_ call: CAPPluginCall) throws -> [[String]] {
|
|
15
|
+
guard let tagsArray = call.getArray("tags") as? [[String]] else {
|
|
16
|
+
throw CustomError.tagsMissing
|
|
17
|
+
}
|
|
18
|
+
return tagsArray
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
private static func getTourIdsFromCall(_ call: CAPPluginCall) throws -> [Int] {
|
|
22
|
+
guard let tourIds = call.getArray("tourIds") as? [Int] else {
|
|
23
|
+
throw CustomError.tourIdsMissing
|
|
24
|
+
}
|
|
25
|
+
return tourIds
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
private static func getContextIdsFromCall(_ call: CAPPluginCall) throws -> [String] {
|
|
29
|
+
guard let contextIds = call.getArray("contextIds") as? [String] else {
|
|
30
|
+
throw CustomError.contextIdsMissing
|
|
31
|
+
}
|
|
32
|
+
return contextIds
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Capacitor
|
|
2
|
+
|
|
3
|
+
@objc public class UpdateTagMappingOptions: NSObject {
|
|
4
|
+
let tags: [String]
|
|
5
|
+
|
|
6
|
+
init(_ call: CAPPluginCall) throws {
|
|
7
|
+
self.tags = try UpdateTagMappingOptions.getTagsFromCall(call)
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
private static func getTagsFromCall(_ call: CAPPluginCall) throws -> [String] {
|
|
11
|
+
guard let tags = call.getArray("tags") as? [String] else {
|
|
12
|
+
throw CustomError.tagsMissing
|
|
13
|
+
}
|
|
14
|
+
return tags
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
import Capacitor
|
|
3
|
+
|
|
4
|
+
@objc public class GetContextResult: NSObject, Result {
|
|
5
|
+
let context: JSObject
|
|
6
|
+
|
|
7
|
+
init(context: JSObject) {
|
|
8
|
+
self.context = context
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@objc public func toJSObject() -> AnyObject {
|
|
12
|
+
var result = JSObject()
|
|
13
|
+
result["context"] = context
|
|
14
|
+
return result as AnyObject
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
import Capacitor
|
|
3
|
+
|
|
4
|
+
@objc public class GetContextsResult: NSObject, Result {
|
|
5
|
+
let contexts: JSArray
|
|
6
|
+
|
|
7
|
+
init(contexts: JSArray) {
|
|
8
|
+
self.contexts = contexts
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@objc public func toJSObject() -> AnyObject {
|
|
12
|
+
var result = JSObject()
|
|
13
|
+
result["contexts"] = contexts
|
|
14
|
+
return result as AnyObject
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
import Capacitor
|
|
3
|
+
|
|
4
|
+
@objc public class GetGPSPointsInBoundingBoxResult: NSObject, Result {
|
|
5
|
+
let points: JSArray
|
|
6
|
+
|
|
7
|
+
init(points: JSArray) {
|
|
8
|
+
self.points = points
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@objc public func toJSObject() -> AnyObject {
|
|
12
|
+
var result = JSObject()
|
|
13
|
+
result["points"] = points
|
|
14
|
+
return result as AnyObject
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
import Capacitor
|
|
3
|
+
|
|
4
|
+
@objc public class GetNearbyBeaconsResult: NSObject, Result {
|
|
5
|
+
let contexts: JSArray
|
|
6
|
+
|
|
7
|
+
init(contexts: JSArray) {
|
|
8
|
+
self.contexts = contexts
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@objc public func toJSObject() -> AnyObject {
|
|
12
|
+
var result = JSObject()
|
|
13
|
+
result["contexts"] = contexts
|
|
14
|
+
return result as AnyObject
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
import Capacitor
|
|
3
|
+
|
|
4
|
+
@objc public class GetNearbyGPSPointsResult: NSObject, Result {
|
|
5
|
+
let points: JSArray
|
|
6
|
+
|
|
7
|
+
init(points: JSArray) {
|
|
8
|
+
self.points = points
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@objc public func toJSObject() -> AnyObject {
|
|
12
|
+
var result = JSObject()
|
|
13
|
+
result["points"] = points
|
|
14
|
+
return result as AnyObject
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
import Capacitor
|
|
3
|
+
|
|
4
|
+
@objc public class GetVersionResult: NSObject, Result {
|
|
5
|
+
let version: String
|
|
6
|
+
|
|
7
|
+
init(version: String) {
|
|
8
|
+
self.version = version
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@objc public func toJSObject() -> AnyObject {
|
|
12
|
+
var result = JSObject()
|
|
13
|
+
result["version"] = version
|
|
14
|
+
return result as AnyObject
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
|
|
3
|
+
enum CustomError: Error {
|
|
4
|
+
case arViewAlreadyExists
|
|
5
|
+
case arViewNotFound
|
|
6
|
+
case contextIdMissing
|
|
7
|
+
case contextNotFound
|
|
8
|
+
case enabledMissing
|
|
9
|
+
case heightMissing
|
|
10
|
+
case languageMissing
|
|
11
|
+
case latitudeMissing
|
|
12
|
+
case longitudeMissing
|
|
13
|
+
case maxLatitudeMissing
|
|
14
|
+
case maxLongitudeMissing
|
|
15
|
+
case minLatitudeMissing
|
|
16
|
+
case minLongitudeMissing
|
|
17
|
+
case notInitialized
|
|
18
|
+
case tagsMissing
|
|
19
|
+
case topMissing
|
|
20
|
+
case bottomMissing
|
|
21
|
+
case leftMissing
|
|
22
|
+
case rightMissing
|
|
23
|
+
case tourIdsMissing
|
|
24
|
+
case contextIdsMissing
|
|
25
|
+
case widthMissing
|
|
26
|
+
case xMissing
|
|
27
|
+
case yMissing
|
|
28
|
+
case versionNotExists
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
extension CustomError: LocalizedError {
|
|
32
|
+
public var errorDescription: String? {
|
|
33
|
+
switch self {
|
|
34
|
+
case .arViewAlreadyExists:
|
|
35
|
+
return NSLocalizedString("AR view already exists.", comment: "arViewAlreadyExists")
|
|
36
|
+
case .arViewNotFound:
|
|
37
|
+
return NSLocalizedString("AR view not found.", comment: "arViewNotFound")
|
|
38
|
+
case .contextIdMissing:
|
|
39
|
+
return NSLocalizedString("contextId must be provided.", comment: "contextIdMissing")
|
|
40
|
+
case .contextNotFound:
|
|
41
|
+
return NSLocalizedString("Context not found.", comment: "contextNotFound")
|
|
42
|
+
case .enabledMissing:
|
|
43
|
+
return NSLocalizedString("enabled must be provided.", comment: "enabledMissing")
|
|
44
|
+
case .heightMissing:
|
|
45
|
+
return NSLocalizedString("height must be provided.", comment: "heightMissing")
|
|
46
|
+
case .languageMissing:
|
|
47
|
+
return NSLocalizedString("language must be provided.", comment: "languageMissing")
|
|
48
|
+
case .latitudeMissing:
|
|
49
|
+
return NSLocalizedString("latitude must be provided.", comment: "latitudeMissing")
|
|
50
|
+
case .longitudeMissing:
|
|
51
|
+
return NSLocalizedString("longitude must be provided.", comment: "longitudeMissing")
|
|
52
|
+
case .maxLatitudeMissing:
|
|
53
|
+
return NSLocalizedString("maxLatitude must be provided.", comment: "maxLatitudeMissing")
|
|
54
|
+
case .maxLongitudeMissing:
|
|
55
|
+
return NSLocalizedString("maxLongitude must be provided.", comment: "maxLongitudeMissing")
|
|
56
|
+
case .minLatitudeMissing:
|
|
57
|
+
return NSLocalizedString("minLatitude must be provided.", comment: "minLatitudeMissing")
|
|
58
|
+
case .minLongitudeMissing:
|
|
59
|
+
return NSLocalizedString("minLongitude must be provided.", comment: "minLongitudeMissing")
|
|
60
|
+
case .notInitialized:
|
|
61
|
+
return NSLocalizedString("Plugin is not initialized.", comment: "notInitialized")
|
|
62
|
+
case .tagsMissing:
|
|
63
|
+
return NSLocalizedString("tags must be provided.", comment: "tagsMissing")
|
|
64
|
+
case .topMissing:
|
|
65
|
+
return NSLocalizedString("top must be provided.", comment: "topMissing")
|
|
66
|
+
case .bottomMissing:
|
|
67
|
+
return NSLocalizedString("bottom must be provided.", comment: "bottomMissing")
|
|
68
|
+
case .leftMissing:
|
|
69
|
+
return NSLocalizedString("left must be provided.", comment: "leftMissing")
|
|
70
|
+
case .rightMissing:
|
|
71
|
+
return NSLocalizedString("right must be provided.", comment: "rightMissing")
|
|
72
|
+
case .tourIdsMissing:
|
|
73
|
+
return NSLocalizedString("tourIds must be provided.", comment: "tourIdsMissing")
|
|
74
|
+
case .contextIdsMissing:
|
|
75
|
+
return NSLocalizedString("contextIds must be provided.", comment: "contextIdsMissing")
|
|
76
|
+
case .widthMissing:
|
|
77
|
+
return NSLocalizedString("width must be provided.", comment: "widthMissing")
|
|
78
|
+
case .xMissing:
|
|
79
|
+
return NSLocalizedString("x must be provided.", comment: "xMissing")
|
|
80
|
+
case .yMissing:
|
|
81
|
+
return NSLocalizedString("y must be provided.", comment: "yMissing")
|
|
82
|
+
case .versionNotExists:
|
|
83
|
+
return NSLocalizedString("Version does not exist", comment: "versionNotExists")
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
7
|
+
<key>CFBundleExecutable</key>
|
|
8
|
+
<string>$(EXECUTABLE_NAME)</string>
|
|
9
|
+
<key>CFBundleIdentifier</key>
|
|
10
|
+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
+
<string>6.0</string>
|
|
13
|
+
<key>CFBundleName</key>
|
|
14
|
+
<string>$(PRODUCT_NAME)</string>
|
|
15
|
+
<key>CFBundlePackageType</key>
|
|
16
|
+
<string>FMWK</string>
|
|
17
|
+
<key>CFBundleShortVersionString</key>
|
|
18
|
+
<string>1.0</string>
|
|
19
|
+
<key>CFBundleVersion</key>
|
|
20
|
+
<string>$(CURRENT_PROJECT_VERSION)</string>
|
|
21
|
+
<key>NSPrincipalClass</key>
|
|
22
|
+
<string></string>
|
|
23
|
+
</dict>
|
|
24
|
+
</plist>
|