Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Demo App): Fix README and update package to point to 0.4.0 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import enum Alamofire.AFError

protocol NetworkingProtocol {
func request<T: Codable>(endpoint: Endpoint,
Expand Down
20 changes: 10 additions & 10 deletions Demo/TrustedForm.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
71F6AD2E25A361A7008259C9 /* FormInputsHighlightable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71F6AD2D25A361A7008259C9 /* FormInputsHighlightable.swift */; };
71F6AD3325A375CA008259C9 /* DemoSuccessViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71F6AD3225A375CA008259C9 /* DemoSuccessViewController.swift */; };
71F6AD3725A375D4008259C9 /* DemoSuccessViewController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71F6AD3625A375D4008259C9 /* DemoSuccessViewController.storyboard */; };
90CFA7A12AD9B578001FC692 /* TrustedFormPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 90CFA7A02AD9B578001FC692 /* TrustedFormPackage */; };
A5439A172C9CFE3B003E2182 /* TrustedFormPackage in Frameworks */ = {isa = PBXBuildFile; productRef = A5439A162C9CFE3B003E2182 /* TrustedFormPackage */; };
F51549622ACCE7D4002CEFF0 /* IQKeyboardManagerSwift in Frameworks */ = {isa = PBXBuildFile; productRef = F51549612ACCE7D4002CEFF0 /* IQKeyboardManagerSwift */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -119,7 +119,7 @@
buildActionMask = 2147483647;
files = (
F51549622ACCE7D4002CEFF0 /* IQKeyboardManagerSwift in Frameworks */,
90CFA7A12AD9B578001FC692 /* TrustedFormPackage in Frameworks */,
A5439A172C9CFE3B003E2182 /* TrustedFormPackage in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -411,7 +411,7 @@
name = TrustedForm_Demo;
packageProductDependencies = (
F51549612ACCE7D4002CEFF0 /* IQKeyboardManagerSwift */,
90CFA7A02AD9B578001FC692 /* TrustedFormPackage */,
A5439A162C9CFE3B003E2182 /* TrustedFormPackage */,
);
productName = TrustedForm;
productReference = 607FACD01AFB9204008FA782 /* TrustedForm_Demo.app */;
Expand Down Expand Up @@ -444,7 +444,7 @@
mainGroup = 607FACC71AFB9204008FA782;
packageReferences = (
F51549602ACCE7D4002CEFF0 /* XCRemoteSwiftPackageReference "IQKeyboardManager" */,
90CFA79F2AD9B578001FC692 /* XCRemoteSwiftPackageReference "trustedform-ios-sdk" */,
A5439A152C9CFE3B003E2182 /* XCRemoteSwiftPackageReference "trustedform-ios-sdk" */,
);
productRefGroup = 607FACD11AFB9204008FA782 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -743,12 +743,12 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
90CFA79F2AD9B578001FC692 /* XCRemoteSwiftPackageReference "trustedform-ios-sdk" */ = {
A5439A152C9CFE3B003E2182 /* XCRemoteSwiftPackageReference "trustedform-ios-sdk" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/activeprospect/trustedform-ios-sdk.git";
repositoryURL = "https://github.com/activeprospect/trustedform-ios-sdk";
requirement = {
branch = master;
kind = branch;
kind = exactVersion;
version = 0.4.0;
};
};
F51549602ACCE7D4002CEFF0 /* XCRemoteSwiftPackageReference "IQKeyboardManager" */ = {
Expand All @@ -762,9 +762,9 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
90CFA7A02AD9B578001FC692 /* TrustedFormPackage */ = {
A5439A162C9CFE3B003E2182 /* TrustedFormPackage */ = {
isa = XCSwiftPackageProductDependency;
package = 90CFA79F2AD9B578001FC692 /* XCRemoteSwiftPackageReference "trustedform-ios-sdk" */;
package = A5439A152C9CFE3B003E2182 /* XCRemoteSwiftPackageReference "trustedform-ios-sdk" */;
productName = TrustedFormPackage;
};
F51549612ACCE7D4002CEFF0 /* IQKeyboardManagerSwift */ = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"originHash" : "ced6b70bd0dd38c3410dfbd06984dc9a75cf13e52e87d2c6c90225c0543198e8",
"pins" : [
{
"identity" : "alamofire",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Alamofire/Alamofire.git",
"state" : {
"revision" : "b2fa556e4e48cbf06cf8c63def138c98f4b811fa",
"version" : "5.8.0"
"revision" : "f455c2975872ccd2d9c81594c658af65716e9b9a",
"version" : "5.9.1"
}
},
{
Expand All @@ -21,12 +22,12 @@
{
"identity" : "trustedform-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/activeprospect/trustedform-ios-sdk.git",
"location" : "https://github.com/activeprospect/trustedform-ios-sdk",
"state" : {
"branch" : "master",
"revision" : "0841fcd1f8cc6cdc8795f59680fb381319745e0f"
"revision" : "3140468fd954e440992b053fa2d957d97b1d0bbf",
"version" : "0.4.0"
}
}
],
"version" : 2
"version" : 3
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ DEMO_TOKEN = your_demo_token_here

### 3. Set TrustedForm SDK Version

Open your project in Xcode and use the Swift Package Manager to target the correct version of the TrustedForm SDK. As of this writing, the current version is `0.3.1`. To do this:
Open your project in Xcode and use the Swift Package Manager to target the correct version of the TrustedForm SDK. As of this writing, the current version is `0.4.0`. To do this:

- Go to `File` > `Swift Packages` > `Add Package Dependency...`
- Enter the TrustedForm SDK repository URL (https://github.com/activeprospect/trustedform-ios-sdk)
- Choose version `0.3.2` and add the package to your project
- Choose version `0.4.0` and add the package to your project

### 4. Build and Run the Project

Expand Down