SwiftSpellbook

1.0.0

Swift utilities for everyday work
Alkenso/SwiftSpellbook

What's New

Big changes. Refined most of APIs

2024-06-05T11:14:28Z

SwiftSpellbook

SwiftSpellbook is collection of additions to Swift standard library that makes development easier.

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

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.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Dec 21 2024 15:26:50 GMT-1000 (Hawaii-Aleutian Standard Time)