What is in this repository
HMUtilities source code in Swift, that can be made into a framework by
swift build (macOS and Linux only), or through Xcode. Using the latter allows additionally to build for iOS, tvOS or watchOS.
In addition, if using this as a dependency with Swift Package Manager, the suitable architecture is handled by Xcode.
For iOS, it's recommended to build the universal framework - thus enabling running on a simulator as well.
AppStoreCompatible.sh script for thinning the framework before submission to iTC.
For macOS and Linux, executing
swift build and using the product is recommended (use the
--show-bin-path option to get the output path).
For other Apple platforms, the universal framework can be made with
lipo from Xcode's simulator and device products. When creating a universal one, the module maps need to be copied as well.
Help us keep the lights on
1.3.1 - Mar 11, 2019
Fixed signed integer's initialisation for
1.3.0 - Feb 25, 2019
Added a new type
HMBytesConvertable and made the following types conform to it:
URL, signed and unsigned integers.
1.2.0 - Nov 6, 2018
Renamed DebugTree to HMDebugTree.
1.1.1 - Sep 27, 2018
Added .bytes accessor for Double to get IEE 754 bytes. Added binary initialiser for FixedWidthInteger types (i.e. UInt16 can be initialised with 2 bytes, UInt32 with 4 and so forth).
1.1.0 - Aug 21, 2018
Updated to Swift 4.2