How to Integrate
Step One - Setup Cocoapods
CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over 85 thousand libraries and is used in over 3 million apps. CocoaPods can help you scale your projects elegantly.
You need to add cocoa pods to your project. You can find more information here
Step Two - Add Finotes
Add the following two lines to your Podfile. This will integrate both FinotesWatchosCore and FinotesWatchosDebug to your project.
WatchKit Extension Target in Podfile:
pod 'FinotesWatchosCore', '6.1.1', :configuration => ['Release']
pod 'FinotesWatchosDebug', '6.1.1', :configuration => ['Debug']
FinotesWatchosDebug framework will have latest features available first in future releases.
Next, install the same by executing the following command from terminal where your Podfile resides.
Terminal:
pod install --repo-update
The –repo-update option should be used the first time.
Step Three - Import Finotes
You can import the FinotesWatchosCore to your code using the import statement below.
Anywhere in Code:
- Objective C
- Swift
#import <FinotesWatch/Fn.h>
import FinotesWatch