Skip to content

Commit 1609b3b

Browse files
committed
Improve section in tabs
1 parent 2d329f4 commit 1609b3b

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

fern/docs/pages/plug-sdk/ios.mdx

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,32 @@ The DevRev SDK can be integrated using either Swift Package Manager (SPM) or Coc
1515
We recommend integrating the DevRev SDK using SPM.
1616
</Callout>
1717

18-
### Swift Package Manager
18+
<Tabs>
19+
<Tab title="Swift Package Manager">
20+
To integrate the DevRev SDK into your project using SPM:
1921

20-
To integrate the DevRev SDK into your project using SPM:
22+
1. Open your project in Xcode and navigate to the **Add Package Dependency**.
23+
2. Enter the DevRev SDK URL under **Enter Package URL**:
24+
- For HTTPS: https://github.com/devrev/devrev-sdk-ios
25+
- For SSH: `[email protected]:devrev/devrev-sdk-ios.git`
26+
3. In the **Build Phases** section of your app target, locate the **Link Binary With Libraries** phase and confirm that `DevRevSDK` is linked. If not, add it by clicking **+** and selecting `DevRevSDK` from the list.
2127

22-
1. Open your project in Xcode and navigate to the **Add Package Dependency**.
23-
2. Enter the DevRev SDK URL under **Enter Package URL**:
24-
- For HTTPS: https://github.com/devrev/devrev-sdk-ios
25-
- For SSH: `[email protected]:devrev/devrev-sdk-ios.git`
26-
3. In the **Build Phases** section of your app target, locate the **Link Binary With Libraries** phase and confirm that `DevRevSDK` is linked. If not, add it by clicking **+** and selecting `DevRevSDK` from the list.
28+
Now you should be able to import and use the DevRev SDK in your project.
2729

28-
Now you should be able to import and use the DevRev SDK in your project.
30+
</Tab>
31+
<Tab title="CocoaPods">
32+
To integrate the DevRev SDK using CocoaPods:
2933

30-
### CocoaPods
34+
1. Add the following to your Podfile:
35+
```ruby
36+
pod 'DevRevSDK', '~> 1.0.0'
37+
```
38+
2. Run `pod install` in your project directory.
3139

32-
To integrate the DevRev SDK using CocoaPods:
40+
This will install the DevRev SDK in your project, making it ready for use.
3341

34-
1. Add the following to your Podfile:
35-
```ruby
36-
pod 'DevRevSDK', '~> 1.0.0'
37-
```
38-
2. Run `pod install` in your project directory.
39-
40-
This will install the DevRev SDK in your project, making it ready for use.
42+
</Tab>
43+
</Tabs>
4144

4245
### Set up the DevRev SDK
4346

0 commit comments

Comments
 (0)