Standard extensions for Cocoa
Note
The package is in beta (feel free suggest your improvements here) But we do respect semantic versioning 😉
You can add swift-cocoa-extensions to an Xcode project by adding it as a package dependency
- From the File menu, select Swift Packages › Add Package Dependency…
- Enter
"https://github.com/capturecontext/swift-cocoa-extensions"into the package repository URL text field - Choose products you need to link to your project.
If you use SwiftPM for your project structure, add swift-cocoa-extensions dependency to your package file
.package(
url: "https://github.com/capturecontext/swift-cocoa-extensions.git",
.upToNextMinor("0.5.0")
)Do not forget about target dependencies
.product(
name: "<#Product#>",
package: "swift-cocoa-extensions"
)Note
The package is compatible with non-Apple platforms, however it uses conditional compilation, so APIs are only available on Apple platforms
This library is released under the MIT license. See LICENSE for details.## Installation