Alkenso/SwiftSpellbook
Swift utilities for everyday work
Motivation
While participating in many projects (macOS and iOS) I use the same tools and standard types extensions. Once I've decided stop to copy-paste code from project to project and make single library that covers lots of developer needs in utility code.
Content
At top level, the code is organized into libraries that cover big areas. Now there are only two:
- SpellbookFoundation: utility code
- SpellbookBinaryParsing: convenient way to read and write binary data byte-by-byte
- SpellbookHTTP: HTTP client
- SpellbookTestUtils: utility code frequently used for Unit-Tests
SpellbookFoundation
The most of utility code lives here.
- Combine: Combine.framework extensions
- Common: Mix of commonly used entities
- DictionaryParsing: deal with data nested deeply in dictionaries
- Filesystem & Bundle: FileManager, Bundle and same utilities
- GUI: CoreGraphics utilities. This is NOT an AppKit/UIKit/SwiftUI
- Low Level: extensions to deal with (popular) C structures, unsafe types, etc.
- ObjC Bridging: Caching Objective-C and C++ exceptions from Swift code
- System & Hardware: UNIX and Process utilities
- Threading & Concurrency: utilities that make multithead development easier
- Types & PropertyWrappers: misc types and property wrappers
- ValueObserving: utilities that allows observe and modify-with-observe on any types
Other
If you've found this or other my libraries helpful, you could buy me some pizza
<a href="https://www.buymeacoffee.com/alkenso"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a pizza&emoji=🍕&slug=alkenso&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff" /></a>
You can also find Swift libraries for macOS / *OS development
- sXPC: type-safe wrapper around NSXPCConnection and proxy object
- sLaunchctl: register and manage daemons and user-agents
- sMock: Swift unit-test mocking framework similar to gtest/gmock
- sEndpointSecurity Swift wrapper around EndpointSecurity.framework
- SwiftSpellbook_macOS macOS-related collection of additions to Swift standard library that makes development easier.
Package Metadata
Repository: Alkenso/SwiftSpellbook
Stars: 16
Forks: 3
Open issues: 0
Default branch: main
Primary language: swift
License: MIT
README: README.md