Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.81 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.81 KB

swift-cocoa-extensions

CI SwiftPM 5.9 Platforms @maximkrouk

Standard extensions for Cocoa

The package is in beta (feel free suggest your improvements here)

But we do respect semantic versioning 😉

Installation

Basic

You can add CocoaExtensions to an Xcode project by adding it as a package dependency.

  1. From the File menu, select Swift Packages › Add Package Dependency…
  2. Enter "https://github.com/capturecontext/swift-cocoa-extensions.git" into the package repository URL text field
  3. Choose products you need to link them to your project.

Recommended

If you use SwiftPM for your project, you can add StandardExtensions to your package file.

.package(
  name: "swift-cocoa-extensions",
  url: "https://github.com/capturecontext/swift-cocoa-extensions.git", 
  .upToNextMinor(from: "0.4.0")
)

Do not forget about target dependencies:

.product(
  name: "CocoaExtensions", 
  package: "swift-cocoa-extensions"
)
.product(
  name: "CocoaExtensionsMacros", 
  package: "swift-cocoa-extensions"
)

License

This library is released under the MIT license. See LICENSE for details.