Skip to content

Commit

Permalink
feat: rename ios elements (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinperaza authored Feb 6, 2025
1 parent 7016d82 commit 63258d0
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/blueprints/cards/issue-and-display-cards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ This will launch Xcode with the newly created project.

We will need to install Basis Theory's [iOS Elements SDK](/docs/sdks/mobile/ios), which will render secure `UITextFields` for revealing the card data.

With the Xcode window in focus, select File > Add Packages. In the dialog that appears, enter `https://github.com/Basis-Theory/basistheory-ios` in the search field on the top right, then click Add Package on this screen and the next prompts.
With the Xcode window in focus, select File > Add Packages. In the dialog that appears, enter `https://github.com/Basis-Theory/ios-elements` in the search field on the top right, then click Add Package on this screen and the next prompts.

## Adding Your Form Components

Expand Down
4 changes: 2 additions & 2 deletions docs/concepts/elements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ To get started revealing sensitive data to your users, check out our [Reveal Tok

<SdkCard
href="/docs/sdks/mobile/ios"
heading="iOS Elements SDK"
heading="iOS Elements"
sources={{
light: "/img/sdk/logos/apple.svg",
dark: "/img/sdk/logos/apple-dark.svg",
}}
repository="basistheory-ios"
repository="ios-elements"
/>

<SdkCard
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/collect/collect-cards-with-your-inputs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ yarn add @basis-theory/basis-theory-react
</TabItem>
<TabItem value="ios" label="iOS">

To add the Basis Theory iOS package using [Swift Package Manager](https://www.swift.org/package-manager/), open XCode and click on `File → Add Packages`, search for `"https://github.com/Basis-Theory/basistheory-ios"`, and click on `Copy Dependency`.
To add the Basis Theory iOS package using [Swift Package Manager](https://www.swift.org/package-manager/), open XCode and click on `File → Add Packages`, search for `"https://github.com/Basis-Theory/ios-elements"`, and click on `Copy Dependency`.

We also support installing our package via [CocoaPods](https://cocoapods.org/) by adding the following line to your `Podfile` under your `target`:

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/collect/collect-data-with-ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This will launch Xcode with the newly created project.

We will need to install Basis Theory's [iOS Elements SDK](/docs/sdks/mobile/ios), which will render a secure `UITextField` for capturing the data.

With the Xcode window in focus, select File > Add Packages. In the dialog that appears, enter `https://github.com/Basis-Theory/basistheory-ios` in the search field on the top right, then click Add Package on this screen and the next prompts.
With the Xcode window in focus, select File > Add Packages. In the dialog that appears, enter `https://github.com/Basis-Theory/ios-elements` in the search field on the top right, then click Add Package on this screen and the next prompts.

## Add Your Form Components

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ We will need to install Basis Theory's [iOS Elements SDK](/docs/sdks/mobile/ios)

Open your new React Native project in Xcode by opening `AwesomeProject.xcworkspace` in your project under the `ios` directory.

With the Xcode window in focus, select File > Add Packages. In the dialog that appears, enter "[https://github.com/Basis-Theory/basistheory-ios](https://github.com/Basis-Theory/basistheory-ios)" in the search field on the top right, then select "AwesomeProject" for Add to Project,
With the Xcode window in focus, select File > Add Packages. In the dialog that appears, enter "[https://github.com/Basis-Theory/ios-elements](https://github.com/Basis-Theory/ios-elements)" in the search field on the top right, then select "AwesomeProject" for Add to Project,
and click Add Package on this screen and the next prompts.

## Setup Native Module and Bridging Header
Expand Down
4 changes: 2 additions & 2 deletions docs/sdks/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ import { SDK } from "@site/src/components/types";
<SdkCard.TwoColumnLayout>
<SdkCard
href="/docs/sdks/mobile/ios"
heading="iOS Elements SDK"
heading="iOS Elements"
sources={{
light: "/img/sdk/logos/apple.svg",
dark: "/img/sdk/logos/apple-dark.svg",
}}
repository="basistheory-ios"
repository="ios-elements"
/>

<SdkCard
Expand Down
8 changes: 4 additions & 4 deletions docs/sdks/mobile/ios/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { SDK } from "@site/src/components/types";
# iOS Elements SDK

<GithubCard
heading="iOS Elements SDK"
heading="iOS Elements"
icon={SDK.IOS}
organization="basis-theory"
repository="basistheory-ios"
repository="ios-elements"
/>

###
Expand All @@ -23,7 +23,7 @@ The Basis Theory iOS SDK makes it easy to build secure iOS applications that
sensitive data using [Elements](/docs/concepts/elements).

Get started with our [native iOS guide](/docs/guides/collect/collect-data-with-ios) or [React Native iOS guide](/docs/guides/collect/collect-data-with-react-native-on-ios), explore our
[example application](https://github.com/Basis-Theory/basistheory-ios/tree/master/IntegrationTester),
[example application](https://github.com/Basis-Theory/ios-elements/tree/master/IntegrationTester),
or continue reading the [reference docs](/docs/sdks/mobile/ios/types).

## Before You Begin
Expand All @@ -35,7 +35,7 @@ To create one, login into our [Portal](https://portal.basistheory.com) and creat

## Installation

To add the Basis Theory iOS package using [Swift Package Manager](https://www.swift.org/package-manager/), open XCode and click on `File → Add Packages`, search for `"https://github.com/Basis-Theory/basistheory-ios"`, and click on `Copy Dependency`.
To add the Basis Theory iOS package using [Swift Package Manager](https://www.swift.org/package-manager/), open XCode and click on `File → Add Packages`, search for `"https://github.com/Basis-Theory/ios-elements"`, and click on `Copy Dependency`.

We also support installing our package via [CocoaPods](https://cocoapods.org/) by adding the following line to your `Podfile` under your `target`:

Expand Down
2 changes: 1 addition & 1 deletion docs/sdks/mobile/ios/types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ You can extend default card brands to include additional BIN numbers or create c
<Alert>
When adding custom card brands the default list is replaced, and validation will only run against those brands defined in the `cardType`s list.

For more granular control, [we expose](https://github.com/Basis-Theory/basistheory-ios/blob/master/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift#L64C2-L142C6) card brands individually and a list with all the default card brands.
For more granular control, [we expose](https://github.com/Basis-Theory/ios-elements/blob/master/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift#L64C2-L142C6) card brands individually and a list with all the default card brands.
</Alert>

## CardExpirationDateUITextField
Expand Down

0 comments on commit 63258d0

Please sign in to comment.