Questions tagged [paintcode]

PaintCode is a vector drawing app that generates CoreGraphics code for Objective-C (iOS, macOS), Swift (iOS, macOS) or Xamarin.iOS.

PaintCode is a Mac app that takes as input vector art, and generates code which will draw images. The code can then be used in Mac, iOS, projects.

Features,

  • Standard vector drawing capabilities.
  • Dynamic colors, gradients, variables, symbols and resizing.
  • SVG, PSD, PDF, AI, EPS import.
  • Code generation for CoreGraphics (Swift, Objective-C, Xamarin.iOS).
  • Simple integration of the generated code into projects.
  • Also exports SVG, PNG, PDF, animated GIF.
  • paintcodeapp.com
99 questions
0
votes
2 answers

Make clockwise disappearing circle with PaintCode

I'm trying to make a clockwise disappearing circle on top of my logo with Paintcode. So far I made variables for start and end angles and I don't know how to make the step by step process for clockwise moving. This is what I made in PaintCode: And…
0
votes
1 answer

UIButton title + image using Paintcode app

I have a UIButton with title and image onto the right of the title. But i wanna draw the image using paintcode app rather than using image in assets. How can i do it?
j.krissa
  • 223
  • 5
  • 21
0
votes
1 answer

Unable to draw in UIview - PaintCode

I've created a Paintcode project of a Line graph, and tried to implemented in my Xcode project. But unfortunately the UIView does not draw anything. Here is my StyleKit File: import UIKit public class LineGraphs : NSObject { //// Drawing…
Tobias Ruano
  • 27
  • 1
  • 8
0
votes
2 answers

Paintcode export to subfolder

When defining export to image settings for a canvas, is there a way to let PaintCode export to different folders depending on the canvas? A few of my canvasses are language dependend and need to be exported into subfolders with the language in it…
HixField
  • 3,538
  • 1
  • 28
  • 54
0
votes
2 answers

Add gesture recognizer to BezierPath created by PaintCode

I have no idea about the following situation: I had exported a NSObject from PaintCode and made a .swift file (someObject.swift). public class PlanATrip: NSObject { class func drawRectangle1(frame targetFrame: CGRect = CGRect(x: 0, y: 0,…
Caspar
  • 21
  • 1
0
votes
0 answers

PaintCode button press in view using objective-c?

So I used PaintCode to make a popup view. I used two canvases for it, the main one for the popup and another for a x close button. I want to be able to detect when that x is tapped so I can close the view. The paint code files are a class of type…
user3391232
0
votes
1 answer

How to load an image from a function in another class in UICollectionView? I'm using paint code

I have a collection view which will have to load the content of the cells but I don't want to use images from assets. So, I create a class with Paint Code which draws some images for me. However, I don't know how to load the images that paint code…
0
votes
1 answer

Paintcode and Snap SVG

I am trying to bridge examples from Paintcode and Snap SVG. Here is a simple project that has the gears that spin when a slider is dragged. This is great but I would like to do the interaction with the mouse instead. This is an example of the gears…
Yepher
  • 1,465
  • 12
  • 25
0
votes
1 answer

Xamarin.Forms PCL/SAP Custom renders with paintcode 3 support

Guys! I have a really good question I'm working with Paintcode 3 and im working in Xamarin.Forms(PCL/SAP) Project. I have a sample project running right now and i have a custom drawing in paintcode 3. However, I understand paintcode is suppose to…
Nijoel
  • 13
  • 8
0
votes
0 answers

Multiple buttons in Paintcode swift 3

is it possible to have a group of buttons in the same view that does different things when tapping, will frames do the job? or do i have to have different UIVIEWS for each button seperately? thanks!
masaldana2
  • 635
  • 9
  • 20
0
votes
2 answers

Swift 3- PaintCode StyleKit Color Error

Before upgrading to Swift 3 and Xcode 8, my StyleKit project worked beautifully. Here is my code for some of the colours: //// Color Declarations let purplebliss1 = UIColor(red: 0.212, green: 0.000, blue: 0.200, alpha: 1.000) let…
0
votes
2 answers

Icon assets vs. icon code

I am working on an app which has lot of images and graphics. There are instances where I need to re-use the icons, images etc to change color using the image rendering capability of Xcode. Inspite all of my best efforts the size of my app huge. I…
SHN
  • 785
  • 7
  • 23
0
votes
0 answers

Spritekit Animate Textures, or Nodes for performance?

Just wondering if anyone knows which has better performance, when the result is pretty much the same? For example, the situation I am working on is animating a character's face. I have two ways of doing this that should look pretty much the same: 1)…
Kjell
  • 801
  • 7
  • 19
0
votes
1 answer

adding an image to a UIView 's drawing without letting the image spread

i have a UIView in which i am drawing a shirt using Paint Code. i have to apply an png image which will be the pattern of the shirt. The pattern when added spreads outside of the shirt. How to make the image not spread outside the shirt. the gray…
0
votes
1 answer

Variable to control bezier points in a line for graph in PaintCode

I have just started to use PaintCode some days ago and did all the tutorials but I am banging my head against a very simple task. I have created a temperature plot with a Bezier and I want to assign a variable to each day so that the point…
user2471214
  • 729
  • 9
  • 17