- Added
homeDirectory
,cachesDirectory
,appSupportDirectory
andtmpDirectory
toFileManager
extension. - Added
base64Encoded
andbase64Decoded
as a string extension. - Added
RgbaColor
inclusive initializer and return value forUIColor
. - Added
UIColor.asData()
andData.asUIColor()
extensions to archive and unarchive UIColors. - Added
View.onFirstAppear
modifier which triggers an action when a view appears, but only once. - Changed
FileManager().documentDirectory
toFileManager.documentsDirectory
. - Changed
DispatchQueue.once(token:block:)
to use a generated default token and an actor. - Removed
DispatchQueue.performOnMainThread()
in favor ofTask
andMainActor
. - Added
ReleaseTrigger
to get a callback when an object gets released. - Added
NotificationCenter.ObserverBag
to have a container for notification observer tokens which get automatically removed from the notification center when released. - Added
UIApplication.activeWindowScene
andUIApplication.keyWindow
to retrieve the current window. - Added
iso8601
as an extension to Calendar to retrieve ISO8601 calendar format. - Fixed deprecation warning for
UIColor+KeyedArchiver
. - Added conformance for
Codable
andEquatable
toUIColor.RgbaColor
.
- Added
firstCapitalized
andfirstUppercased
in the String extension. - Added
enumeratedArray
as an extension toCollection
.
- Updated Cocoapods to fix a security risk
- Added
Optional+Stringified
. - Removed
UIDevice
properties forisIPhone
,isIPad
andisMac
. - Added
UIDeviceProvider
to solveUIDevice
dependencies.
Re-created lib from scratch in Swift with an initial code set totally replacing any previous version.