Swiftpack.co -  Alkenso/SwiftConvenience as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Alkenso/SwiftConvenience
Swift Must Have Tools
.package(url: "https://github.com/Alkenso/SwiftConvenience.git", from: "0.0.2")

SwiftConvenience

Convenient additions to Swift standard library that makes development pleasant.

Brief history

While participating in many projects (mostly macOS) 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

Extensions

  • Bundle
  • FileManager
  • Process
  • Standard Types (URL, Data, UUID, Result, ...)

Low level

  • audit_token_t
  • POSIX stat

Utility types

  • CommonError
  • ValueView
  • KeyValue struct
  • DeinitAction

Filesystem

  • FileEnumerator (Swift approach for deep enumeration of the file system)

Multithreading

  • Synchronized (thread-safe wrapper around T)
  • Atomic (property wrapper to safely read/assign values from different threads)

Working with String

  • WildcardExpression

Other

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

GitHub

link
Stars: 1
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Minor fixes
8 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API