JotUI icon indicating copy to clipboard operation
JotUI copied to clipboard

How use as non framework

Open ghost opened this issue 8 years ago • 2 comments

How to use JotUI just dragging files to existing project and not as a framework? I get a lot of error, for autoreleases and that a struct cannot have ARC forbids Objective-C objects in struct

ghost avatar Jun 07 '17 13:06 ghost

The JotStrokeManager.m needs to have its compiler flags set to -fno-objc-arc. To do that, go to project settings, Build Phases, and add that flag to the JotStrokeManager.m in the source list. I believe that'll be all you'll need to do, but I could be wrong.

adamwulf avatar Jun 07 '17 17:06 adamwulf

Thanks a lot. Can I comment out all dispatch_release(); ?

ghost avatar Jun 08 '17 11:06 ghost