cconeil / standard-template-protocols Goto Github PK
View Code? Open in Web Editor NEWProtocols for your every day iOS needs
License: MIT License
Protocols for your every day iOS needs
License: MIT License
Hello!
First thank you very much for this library, that's great work, well done!
I've some troubles to make it work with Xcode 8. Actually It was not even compilling. So I decided to make some changes on it to fit requirements of swift 3.
Now it's working fine, I can drag, zoom, rotate etc. But I've got a lot of bugs :
So I'm wondering if I've done something wrong when adapting the library for swift 3, do you experience the same issues?
Thanks!
Hello!
First thank you very much for this library, that's great work, well done!
I've some troubles to make it work with Xcode 8. Actually It was not even compilling. So I decided to make some changes on it to fit requirements of swift 3.
Now it's working fine, I can drag, zoom, rotate etc. But I've got a lot of bugs :
So I'm wondering if I've done something wrong when adapting the library for swift 3, do you experience the same issues?
Thanks!
Ok I managed to fix the issue in the Moveable extension by replacing the .began case with this :
let superCenter = self.convert(self.center, to: self.superview!)
startPoint = CGPoint(x: superCenter.x - self.superview!.frame.width/2 + self.frame.width/2 , y: superCenter.y - self.superview!.frame.height/2 + self.frame.height/2)
currentPoint = startPoint
But still when after totaled the view, when I try to drag the view, the translation happens in the referencial of the subview, instead of the superview
Seems interesting ~ Would love to pull this using Carthage. Could you add to your target. Trying to avoid the overhead of pods. Carthage simpler and easy to update.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.