Skip to content

Commit 5883e08

Browse files
[SDK-753] Fixed typo in sample readme
1 parent 54f5116 commit 5883e08

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

Samples/README.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -92,28 +92,29 @@ This sample illustrates how to use secure Skyflow elements to collect sensitive
9292
- Replace the placeholder "<VAULT_URL>" with the correct vaultURL
9393
2. Update `Fields` struct in [ResponseStructs.swift](CollectAndRevealSample/CollectAndRevealSample/ResponseStructs.swift) with field name of used vault. For ex:
9494

95-
```swift
96-
struct Fields: Codable {
97-
let name: NameField
98-
let cvv: String
99-
let cardExpiration: String
100-
let cardNumber: String
101-
let skyflow_id: String
102-
}
103-
```
95+
```swift
96+
struct Fields: Codable {
97+
let name: NameField
98+
let cvv: String
99+
let cardExpiration: String
100+
let cardNumber: String
101+
let skyflow_id: String
102+
}
103+
```
104104
105-
The fields can be different depending upon the vault.
106-
3. Update
107-
4. Replace the placeholder "<TOKEN_END_POINT_URL>" of [ExampleTokenProvider.swift](CollectAndRevealSample/CollectAndRevealSample/ExampleTokenProvider.swift) with the bearer token endpoint which gives the bearerToken, implemented at your backend or `http://localhost:3000/`.
105+
`Note : The fields can be different depending upon the vault.`
106+
3. Replace the placeholder "<TOKEN_END_POINT_URL>" of [ExampleTokenProvider.swift](CollectAndRevealSample/CollectAndRevealSample/ExampleTokenProvider.swift) with the bearer token endpoint which gives the bearerToken, implemented at your backend or `http://localhost:3000/`.
108107

109108
#### Running the sample
110109
1. Open CMD
111-
2. Navigate to `CollectAndRevealSample`
110+
2. Navigate to CollectAndRevealSample
112111
3. Run
113112

114113
pod install
115-
4. Open the `CollectAndRevealSample.xcworkspace` file using xcode
116-
5. click on build and run
114+
4. Open the CollectAndRevealSample.xcworkspace file using xcode.
115+
5. Build and run using command + R.
116+
117+
`Note : CollectAndRevealSample.xcworkspace is automatically generated in local once project is cloned from github.`
117118

118119
### Validations
119120
This sample illustrates how to apply custom validation rules on secure Skyflow Collect elements to restrict the type of input a user can provide.
@@ -124,9 +125,10 @@ This sample illustrates how to apply custom validation rules on secure Skyflow C
124125
4. Replace the placeholder "<TOKEN_END_POINT_URL>" in [ExampleTokenProvider.swift](Validations/Validations/ExampleTokenProvider.swift) with the bearer token endpoint which gives the bearerToken, implemented at your backend or `http://localhost:3000/`.
125126
#### Running the sample
126127
1. Open CMD
127-
2. Navigate to `Validations`
128+
2. Navigate to Validations
128129
3. Run
129130
130131
pod install
131-
4. Open the `Validations.xcworkspace` file using xcode
132-
5. click on build and run
132+
4. Open the Validations.xcworkspace file using xcode
133+
5. Build and run using command + R.
134+
`Note : Validations.xcworkspace is automatically generated in local once project is cloned from github.`

0 commit comments

Comments
 (0)