Skip to content

My personal library of shared code used in my apps.

License

Notifications You must be signed in to change notification settings

piscoTech/MBLibrary

Repository files navigation

MBLibrary

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.

Project Details

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.

Usage

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.