Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.65 KB

README.md

File metadata and controls

46 lines (26 loc) · 1.65 KB

DevFoundation

DevFoundation is a Swift 6 package that provides useful types and protocols for building libraries and apps on Apple platforms. It makes it easy to consume web services, mock web service responses, page through data, post and handle type-safe events across multiple modules, and more.

DevFoundation is fully documented and tested and supports iOS 26+, macOS 26+, tvOS 26+, visionOS 26+, and watchOS 26+.

View our changelog to see what’s new.

Development Requirements

DevFoundation requires a Swift 6.4+ toolchain to build. We only test on Apple platforms. We follow the Swift API Design Guidelines. We take pride in the fact that our public interfaces are fully documented and tested. We aim for overall test coverage over 99%.

Development Setup

To set up the development environment:

  1. Run Tools/install-git-hooks to install a pre-push hook that runs Tools/lint.
  2. Use Tools/lint to check Swift and Markdown formatting at any time.
  3. Use Tools/format to fix formatting issues.

Continuous Integration

DevFoundation uses GitHub Actions for continuous integration. The CI pipeline:

  • Linting: Checks Swift and Markdown formatting on all pull requests using Tools/lint
  • Testing: Builds and tests on iOS, macOS, tvOS, and watchOS
  • Coverage: Generates code coverage reports using xccovPretty

Bugs and Feature Requests

Find a bug? Want a new feature? Create a GitHub issue and we’ll take a look.

License

All code is licensed under the MIT license. Do with it as you will.