Update README with SPM instructions (#1477)

Summary:
## Changes in this pull request

-Added Swift Package Manager installation instructions to README.md

Issue fixed: #

### Checklist

- [ ] All tests pass. Demo project builds and runs.
- [ ] I added tests, an experiment, or detailed why my change isn't tested.
- [ ] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes.
- [ ] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)

Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1477

Reviewed By: candance

Differential Revision: D31358873

Pulled By: lorixx

fbshipit-source-id: 2429dd1dc42d28a82c40507ad876e514de51eab6
This commit is contained in:
Ben Jessup 2021-10-13 16:09:32 -07:00 committed by Facebook GitHub Bot
parent 9ca1c692eb
commit ad59a9ead3

View file

@ -74,6 +74,18 @@ For [Carthage](https://github.com/Carthage/Carthage), add the following to your
github "Instagram/IGListKit" ~> 4.0.0
```
### Swift Package Manager
For [Swift Package Manager](https://swift.org/package-manager/):
```
To integrate using Xcode:
File -> Swift Packages -> Add Package Dependency
Enter package URL: https://github.com/Instagram/IGListKit, and select the latest release.
```
> For advanced usage, see our [Installation Guide](https://instagram.github.io/IGListKit/installation.html).
## Getting Started