Skip to content

Commit 7aaf8fa

Browse files
committed
Update README: SPM as primary install method, remove deprecated package managers
- Add Swift Package Manager installation instructions as the recommended method - Remove Carthage and CocoaPods sections (CocoaPods is sunsetting) - Remove CocoaPods badge - Simplify demo project instructions
1 parent bf63c9b commit 7aaf8fa

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ https://img.shields.io/cocoapods/p/SwiftDataTables.svg
1818
<a href="https://swift.org/package-manager">
1919
<img src="https://img.shields.io/badge/SPM-compatible-brightgreen.svg?style=flat" alt="SPM Compatible" />
2020
</a>
21-
<a href="https://cocoapods.org/pods/SwiftDataTables">
22-
<img src="https://img.shields.io/badge/Cocoapods-compatible-4BC51D.svg?style=flat" />
23-
</a>
2421
<a href="https://en.wikipedia.org/wiki/MIT_License">
2522
<img src="https://img.shields.io/badge/License-MIT-brightgreen.svg?style=flat" />
2623
</a>
@@ -63,28 +60,28 @@ https://img.shields.io/cocoapods/p/SwiftDataTables.svg
6360

6461
## Install
6562

66-
### [Carthage](https://github.com/Carthage/Carthage)
67-
68-
- Add the following to your Cartfile: `github "pavankataria/SwiftDataTables"`
69-
- Then run `carthage update`
70-
- Follow the current instructions in [Carthage's README][carthage-installation]
71-
for up to date installation instructions.
63+
### Swift Package Manager (Recommended)
7264

73-
[carthage-installation]: https://github.com/Carthage/Carthage#adding-frameworks-to-an-application
65+
Add SwiftDataTables to your project via Xcode:
66+
1. File → Add Package Dependencies...
67+
2. Enter the repository URL: `https://github.com/pavankataria/SwiftDataTables`
68+
3. Select your version rules and add to your target
7469

75-
### [CocoaPods](http://cocoapods.org)
70+
Or add it to your `Package.swift`:
7671

77-
- Add the following to your [Podfile](http://guides.cocoapods.org/using/the-podfile.html): `pod 'SwiftDataTables'`
78-
- You will also need to make sure you're opting into using frameworks: `use_frameworks!`
79-
- Then run `pod install`.
72+
```swift
73+
dependencies: [
74+
.package(url: "https://github.com/pavankataria/SwiftDataTables", from: "0.9.0")
75+
]
76+
```
8077

8178
## Demo Project Included
8279

8380
To run the example project do the following:
8481
1. Download or clone the repo (`git clone https://github.com/pavankataria/SwiftDataTables`)
85-
2. Change directory into the `DemoSwiftDataTables/Example` folder (`cd SwiftDataTables/Example`)
86-
4. With Xcode 9 installed, as normal, open the `SwiftDataTables.xcodeproj` project
87-
5. Build and Run.
82+
2. Open the `SwiftDataTables.xcodeproj` project in Xcode
83+
3. Select the `DemoSwiftDataTables` scheme
84+
4. Build and Run
8885

8986
If you have any questions or wish to make any suggestions, please open an issue with the appropriate label, and I'll get back to you right away. Thank you
9087

0 commit comments

Comments
 (0)