Releases: ITzTravelInTime/SwiftPackagesBase
Releases · ITzTravelInTime/SwiftPackagesBase
Version 0.0.23
- Fixed Swift 5.0 compatibility
- Fixed Linux unit tests for the SPM versions from 5.0 to 5.3
Version 0.0.22
- Fixed an issue with some fetching protocols having a missing default implementation of the
getBoolfunction when they were supposed to have it.
Version 0.0.21
- Added an extension for
FixedWidthIntegertypes that: Assuming that the current value represents a frequency in Hz, returns an approximation to the maximum order of magnitude of it as a string with a measurement unit suffixed to it. - Added an extension for
FixedWidthIntegertypes that returns a string representing the number in hexadecimal. - Added a random color extension to color types for apple platforms.
- Added a bit mask matching function for
FixedWidthIntegertypes. - Added an extension to generate bit masks for
FixedWidthIntegertypes. - Improved some documentation comments.
- Updated tests.
Version 0.0.17
Stringextensions have been converted intoStringProtocolextensions, this makes the functionality provided available to multiple types and not onlyStringtypes.- Added compliance to the
Copyingprotocol to theDictionarytype. - Added
sizeString()function to represent integer types as byte storage unit string, useful to have nice UI-friendly storage values.
Example: The value1024makes the function return1 KB.
Version 0.0.14
- Added an extension for
RawRepresentabletypes which conforms to theIdentifiableprotocol, so it's no longer necessary to implement theidproperty. - Fixed a build issue with Swift 5.3 and below.
Version 0.0.11
- Restricted the access to
Float80-related code to x86 and only on Linux and macOS targets. - Added extensions for
Float16(only available for recent Apple OS releases on arm targets). - Limited the availability of some of the extensions for
Dateon iOS (which are now available only for iOS 8+). - Fixed building issues for some platforms.
- Re-worked class type extensions for better availability of the extensions.
- Re-named some extensions methods because some names could cause some issues.
- Added some missing documentation comments.
- Overhauled unit tests.
Version 0.0.6
- Added some extensions for
BundleandDate.
Version 0.0.5
- Added variants of the
SimulatableDetectableprotocols for Data fetching. - Improved the test target and the README.
Version 0.0.4
First release of the package, read the README and the source code for more info about the library.