Skip to content

CaptureContext/swift-cocoa-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.