Skip to content

Releases: ITzTravelInTime/SwiftPackagesBase

Version 0.0.23

03 Sep 18:57

Choose a tag to compare

  • Fixed Swift 5.0 compatibility
  • Fixed Linux unit tests for the SPM versions from 5.0 to 5.3

Version 0.0.22

26 Aug 06:15

Choose a tag to compare

  • Fixed an issue with some fetching protocols having a missing default implementation of the getBool function when they were supposed to have it.

Version 0.0.21

30 Jul 20:38

Choose a tag to compare

  • Added an extension for FixedWidthInteger types 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 FixedWidthInteger types 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 FixedWidthInteger types.
  • Added an extension to generate bit masks for FixedWidthInteger types.
  • Improved some documentation comments.
  • Updated tests.

Version 0.0.17

13 Jul 17:36

Choose a tag to compare

  • String extensions have been converted into StringProtocol extensions, this makes the functionality provided available to multiple types and not only String types.
  • Added compliance to the Copying protocol to the Dictionary type.
  • Added sizeString() function to represent integer types as byte storage unit string, useful to have nice UI-friendly storage values.
    Example: The value 1024 makes the function return 1 KB.

Version 0.0.14

05 Jun 04:17

Choose a tag to compare

  • Added an extension for RawRepresentable types which conforms to the Identifiable protocol, so it's no longer necessary to implement the id property.
  • Fixed a build issue with Swift 5.3 and below.

Version 0.0.11

05 Jun 04:04

Choose a tag to compare

  • 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 Date on 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

31 May 22:52

Choose a tag to compare

  • Added some extensions for Bundle and Date.

Version 0.0.5

31 May 20:52

Choose a tag to compare

  • Added variants of the SimulatableDetectable protocols for Data fetching.
  • Improved the test target and the README.

Version 0.0.4

31 May 17:24

Choose a tag to compare

First release of the package, read the README and the source code for more info about the library.