Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 2d6df27

Browse files
committed
Updated the swift usage
1 parent b01bec7 commit 2d6df27

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88

99
<!-- ## [Unreleased] -->
1010

11+
## 3.0.6 - 3/8/2017
12+
Updated the usage docs.
13+
1114
## 3.0.5 - 3/2/2017
1215
Fixed an issue with locating the framework bundle.
1316

README.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,25 +53,12 @@ See [Demo App](https://github.com/salesforce-ux/design-system-ios/tree/master/De
5353

5454
### Setup
5555

56-
To use the SLDS library in Swift, create a bridging header:
57-
58-
```objc
59-
60-
#ifndef slds_bridging_header_h
61-
#define slds_bridging_header_h
62-
63-
#import <DesignSystem/SalesforceDesignSystem.h>
64-
65-
#endif
56+
To use the SLDS library in Swift, import the library:
6657

6758
```
68-
69-
1. Create `slds-bridging-header.h`.
70-
2. In your build settings find the “Swift Compiler – General” section.
71-
3. Next to “Objective-C Bridging Header” add the header file (e.g. `slds-bridging-header.h`).
72-
73-
SLDS extensions and constants are now accessible to all files in your project/workspace. There is no need to import the Design system to each file.
74-
59+
import DesignSystem
60+
```
61+
SLDS extensions and constants are now accessible within your file.
7562

7663
### Examples
7764

0 commit comments

Comments
 (0)