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 FinotesCore and FinotesDebug to your project.
Podfile:
pod 'FinotesCore', '4.3.1', :configuration => ['Release']
pod 'FinotesDebug', '4.3.1', :configuration => ['Debug']
FinotesDebug framework contains all features in FinotesCore plus:
- Ability to track shorter UI thread block issues.
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 FinotesCore to your code using the import statement below.
Anywhere in Code:
- Objective C
- Swift
#import <FinotesCore/Fn.h>
import FinotesCore