Skip to content

Latest commit

 

History

History
46 lines (22 loc) · 2.01 KB

INTERGRATE_TO_EXISTING_PROJECT.md

File metadata and controls

46 lines (22 loc) · 2.01 KB

Integrate Zinnia to an existing project

1. Download the ZinnaCocoaTouch library.

and put it somewhere in your working directory.

Add the library to your project from XCode.

If you see the library files appear in XCode like this then it's great.

2. Configure your project.

Open your Project settingsBuild phases. In the Target Dependencies, add ZinniaCocoaTouch

Next, in the Link Binary With Libraries, add ZinniaCocoaTouch.framework

To make the provided model (ZinniaCocoaTouch/Supporting Files/handwriting.model) bundled with the build, add a Copy Files Phases

.

3. Create an Objective-C bridging header to import the library classes to your Swift files.

If your project doesn't compile, check the Build Settings for whether the header has been properly configured.

That's it! You have successfully integrated Zinnia to your project. Happy coding!