-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathConstants.swift
45 lines (38 loc) · 1.11 KB
/
Constants.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// Constants.swift
// truecaller_sdk
//
// Created by Sreedeepkesav M S on 02/03/22.
//
import Foundation
struct Constants {
struct ChannelNames {
static let methodChannel = "tc_method_channel"
static let eventChannel = "tc_event_channel"
}
struct String {
static let data = "data"
static let result = "result"
static let success = "success"
static let failure = "failure"
}
struct Error {
static let methodNotImplemented = "Method not implemented"
}
struct Arguments {
static let firstName = "fname"
static let lastName = "lname"
static let otp = "otp"
static let phone = "ph"
static let countryCode = "ci"
}
struct CountryCode {
static let india = "IN"
}
struct ErrorDescription {
static let unableToParseArguments = "Unable to parse arguments"
static let phoneNumberEmpty = "Phone number cannot be empty"
static let firstNameEmpty = "Firstname should not be empty"
static let otpEmpty = "OTP should not be empty"
}
}