Skip to content

Commit

Permalink
Updated readme with new installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-northmind committed Jan 6, 2025
1 parent db68d91 commit 73d1889
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,24 @@ Unlike many other DI libraries, SwiftPod ensures you won’t ever run into a run

## Installation

You can add SwiftPod to your project using Swift Package Manager.
Add this package as a dependency in your Package.swift:
### Swift Package Manager (SPM)

```swift
Add SwiftPod as a dependency in your Package.swift:

```
dependencies: [
.package(url: "https://github.com/robert-northmind/SwiftPod", from: "1.0.0")
]
```

### CocoaPods

Integrate SwiftPod into your Xcode project by specifying it in your Podfile:

```
pod 'SwiftPod-CocoaPods'
```

## Quick Example

In some made up business logic called `DataService.swift`:
Expand Down

0 comments on commit 73d1889

Please sign in to comment.