CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✓ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Dec 2014 |
| SPMSupports SPM | ✗ |
Maintained by Ingmar Stein, Adam Sharp.
This is a Swift microframework which implements a Dictionary-backed Set.
// Union
Set(1, 2, 3) + Set(3, 4, 5) // == Set(1, 2, 3, 4, 5)
// Difference
Set(1, 2, 3) - Set(2, 3) // == Set(1)
// Intersection
Set(1, 2, 3) & Set(3, 4, 5) // == Set(3)See Set.swift for more details.
Add this repo as a submodule in e.g. External/Set:
git submodule add https://github.com/robrix/Set.git External/Set
Set.xcodeproj into your .xcworkspace/.xcodeproj.Set.framework to your target’s Link Binary With Libraries build phase.Copy Files phase which copies Set.framework (and any other framework dependencies you need) into your bundle’s Frameworks directory. If your target is a framework, you may instead want the client app to include Set.framework.