This framework includes common and useful extensions to variuos classes of the Foundation
, UIKit
, AppKit
, WatchKit
and other frameworks and some useful wrapper for UserDefault
, NSUbiquitousKeyValueStore
and In-App purchase process.
This project is made up of two different frameworks: MBLibrary
containing various code spanning multiple system frameworks and MBHealth
containing code related to HealthKit
which cannot be included in the other framework because on the AppStore an app cannot link against HealthKit
if the functionality is not used.
The MBLibrary
framework has three targets, one for each platform (iOS, macOS and watchOS), and MBHealth
has two (iOS and watchOS): code used by more than one target resides in the Shared
group, platform/target specific in the appropriate MBLibrary *OS
or MBHealth *OS
group.
Currently only Foundation
related code has unit tests shared by all three targets, other code needs tests.
Add the project file to the destination project and add the appropriate framework to the Embedded Binaries section in the General tab of your target property.
If you include MBHealth
you must include also the corresponding MBLibrary
framework.