Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rkukuh authored Mar 25, 2023
1 parent 379e5d4 commit 56425c2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

The `SwiftCollections` package provides a fluent, convenient extensions for working with collection of data.

## Installation

1. Open your existing Xcode project or create a new one
2. In the Xcode menu, go to `File > Add Packages....`
3. In the Search or Enter Package URL field, enter: `https://github.com/rkukuh/Swift-Collections.git`. Press <kbd>Return</kbd> to load the package.
4. After the package is loaded, you will see the package details, including its name, the repository URL, and available versions. By default, Xcode selects the most recent version. You can choose a specific version, a branch, or a commit using the provided options.
5. Click `Add Package` to confirm the addition of the package to your project.
6. Xcode will download the package and add it to your project's Swift Package Dependencies. You can check this by going to your project settings and selecting the `Package Dependencies` tab.
7. To use the package in your project, simply import the package module at the top of any Swift file where you want to use it:

```swift
import SwiftCollections

//...
```

## Available Methods

- [`average`](https://github.com/rkukuh/Swift-Collections/edit/main/README.md#average)
Expand Down

0 comments on commit 56425c2

Please sign in to comment.