MainOffender

0.1.0

Utilities for transitioning to Swift Concurrency
mattmassicotte/MainOffender

What's New

v0.1.0

2023-07-21T12:15:17Z
  • Initial release

Build Status License Platforms Documentation

MainOffender

A tiny package with utilities to help with Swift Concurrency

You can also just copy-paste the stuff you need into your project if you aren't into taking on the dependnecy. I won't be offended (ha!).

Features:

  • MainActor.runUnsafely for MainActor.assumeIsolated with lower OS version requirements.
  • UnsafeBlockOperation for BlockOperation without Sendable checking
  • Additions to OperationQueue to submit blocks directly without Sendable checking

Installation

dependencies: [
    .package(url: "https://github.com/ChimeHQ/MainOffender", from: "0.1.0")
]

Contributing and Collaboration

I prefer collaboration, and would love to find ways to work together if you have a similar project.

I prefer indentation with tabs for improved accessibility. But, I'd rather you use the system you want and make a PR than hesitate because of whitespace.

Suggestions and Feedback

I'd love to hear from you! Get in touch via mastodon, an issue, or a pull request.

By participating in this project you agree to abide by the Contributor Code of Conduct.

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Feb 28 2024 19:41:41 GMT-1000 (Hawaii-Aleutian Standard Time)