A collection of useful tools that makes developer's life easier
Any documentation can be found inline in the source files.
Add MHAppKit
to your Swift Package Dependencies.
Limitations and issues when using Swift Package Manager
Since SPM does not yet support bundles and resources, the following limitations are present:
PickerViewController.nib
is not available - do not use the convenienceinit()
andinit(items:selectedItemIndex:)
, because they are relying on the missing NIB file. Use(nibName:bundle:)
and provide your own NIB file.DatePickerViewController.nib
is not available - do not use the convenienceinit()
, because it relies on the missing NIB file. Use(nibName:bundle:)
and provide your own NIB file.- UI tests are disabled, because test host cannot be specified.
- Several tests are separated as
HostDependantTests
- they are excluded from SPM, because test host cannot be specified.
Since SPM is multi platform by nature, the source code has been updated to build for all platforms. Even that originally it was designed to work for iOS only, there are some extensions that work for other plaforms as well. However extensions and components are not guaranteed to be available for all platforms.
- target availability is market trough code using the following:
@avaialbe
attribute#if canImport()
preprocessor macro#if os()
preprocessor macro
- building the target for watchOS simjlator fails due to incompatibility with XCTest framework - it should build and run fine, when linked agains real watchOS target
Add github "KoCMoHaBTa/MHAppKit"
to your Cartfile
, then Embed the framework directly into your project.
Add pod 'MHAppKit'
to your Podfile
Add a submodule to your repostiroy, then Embed the framework directly into your project
Download, then Embed the framework directly into your project