From 9cf47f5ad5b9c3a3df01ace104036ce33ab9f585 Mon Sep 17 00:00:00 2001 From: scannillo <35243507+scannillo@users.noreply.github.com> Date: Thu, 11 Jan 2024 19:08:09 -0600 Subject: [PATCH 1/2] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 57c90b1d00..25b0e2acab 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,6 @@ Here are a few ways to get in touch: ## Help -* Read the headers * [Read the Braintree docs](https://developer.paypal.com/braintree/docs/guides/client-sdk/setup/ios/v5) * [Check out the reference docs](https://braintree.github.io/braintree_ios/) * Find a bug? [Open an issue](https://github.com/braintree/braintree_ios/issues) From 90c76c72b5127692376ab4071004fe9c12e18ede Mon Sep 17 00:00:00 2001 From: scannillo <35243507+scannillo@users.noreply.github.com> Date: Thu, 11 Jan 2024 19:09:06 -0600 Subject: [PATCH 2/2] Update DEVELOPMENT.md --- DEVELOPMENT.md | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index d10aee5811..e0b5b80967 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -19,32 +19,6 @@ To run the tests: _Note:_ Running the `UI` and `IntegrationTests` schemes follows the same steps as above, just replacing the `UnitTests` scheme name in step 3. -## Importing Header Files - -### Importing a Swift module into Obj-C - -To import a Braintree framework written in **Swift** into an Objective-C file, use the following syntax: -```objc -#if __has_include() // CocoaPods -#import - -#elif __has_include("Braintree-Swift.h") // CocoaPods for ReactNative -/* Use quoted style when importing Swift headers for ReactNative support - * See https://github.com/braintree/braintree_ios/issues/671 - */ -#import "Braintree-Swift.h" - -#elif SWIFT_PACKAGE // SPM -/* Use @import for SPM support - * See https://forums.swift.org/t/using-a-swift-package-in-a-mixed-swift-and-objective-c-project/27348 - */ -@import BraintreeCore; - -#else // Carthage -#import -#endif -``` - ## Releasing Refer to the `ios/releases` section in the internal SDK Knowledge Repo.