![]() ![]() If you use it, i'll be happy to know about it. Technical details:Īll source code is licensed under the MIT License. ![]() That's how I did the Github and Twitter logos, for example. svg file, and it is going to create the code to create its BezierPath. Var myLoader = WavesLoader.showProgressBasedLoaderWithPath(myPath)Ī feature that I LOVE from PaintCode is that you can import an. The only thing we have to do here is extract the CGPath from the UIBezierPath like so: let myPath = starPath.CGPath StarPath.addLineToPoint(CGPointMake(139.1, 49.88)) StarPath.addLineToPoint(CGPointMake(180, 82.6)) StarPath.addLineToPoint(CGPointMake(220.9, 49.88)) StarPath.moveToPoint(CGPointMake(180, 25)) In the case of drawing a star, it is going to give us this code: //// Star Drawing In this case we can use it to create BezierPaths, and extract from there the CGPath. You can just draw things, and it will automagically create the code for you PaintCode is a realy powerful Mac app that can do a lot of things.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |