adamwulf / JotUI

OpenGL based drawing view built for and used by Loose Leaf for iPad
http://getlooseleaf.com/opensource/
MIT License
268 stars 28 forks source link

Maybe swift #45

Open djcomy opened 5 years ago

djcomy commented 5 years ago

Is there anyone who implemented this awesome piece of drawing art in swift? I tried it in ObjC, kinda working although it's sending some errors while using it with GPUImage in same app.

adamwulf commented 5 years ago

Unfortunately I don't know of any swift variations of JotUI or similar.

What sort of errors are you seeing when in an app with GPUImage? There was a bug long ago with GPUImage #14 that got fixed. If there's a crash or stack trace, I might be able to debug and see what's causing the problem.

djcomy commented 5 years ago

Hello,

Sorry to hear about swift version :/, I've found one similar thing, not so good as this one but might do the trick.

On #14 I wrote as well near the end of that discussion (djcomy), the error was the same like it is on that post. My app was like start view controller where you take or choose a photo, next view controller is gpuimage filters, third controller is some frames/stickers etc. From that view I never could pass the gpuimage photo to JOT draw view controller (regular photo yes), and JOT view controller never got back photo that was drawn on (when i click done for example, and that button should get photo back to frames/stickers VC). I gave up on that project about a year ago, still have it though, might share it with You if You can fix all those, I'm totally stuck and meanwhile got shifted to Swift. And yeah, i don't know what was the fix from #14 since it was a pain to implement JOT to my project and I didn't want to mess up something changing any part of code.