Skip to content

Set of extensions to Swift Standard Library and Foundation

Notifications You must be signed in to change notification settings

iDmitriyy/SwiftyKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For stage of the active development minimal requirements are iOS17 / MacOS 14. Deployment target will be decreased later with backward compatibility shims.

Motivation:

This package is the result of development different projects. Features are added to swift are awesome. However, sometimes we can’t wait for next Swift version, update to new Xcode version or bump deployment target IRL. When features are added to STL, they will be deprecated.

Some examples:

  • MonotonicUptime. In iOS 15 and later there is Clock.Instant, but before that time MonotonicUptime persented in this library was used.
  • NonEmpty collections and Ordered collections. At some time in future non-empty collections can be expres natively with improved swift generics. But for now can use advantages of NonEmpty to created better API. The same is about SwiftCollections library.

Any feedback is appreciated, MRs are welocome.

Design principles:

All API is provided with usage examples. Package is separated into small modules. You can pick up pieces you want and make your own umbrella. You can additionally add your own modules and add needed API.

About

Set of extensions to Swift Standard Library and Foundation

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages