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

How to drawrect paintcode content centre horizontal on landscape iOS on retina iPad?

I'm getting in a bit of a muddle trying to draw some paintcode graphics code in the middle of the screen horizontally. I'm really not sure if scale or landscape orientation affects this. I've created a UIView subclass and addSubview in viewDidLoad…
Jules
  • 7,568
  • 14
  • 102
  • 186
0
votes
1 answer

MKAnnotationView UIView or UIImage

I have a map with many (>500) custom annotation views. Currently I am using a UIView that implements the drawRect: method which then draws the annotations view with UIBezierPath and other vectorish methods (from PaintCode). I have noticed however…
Joseph
  • 9,171
  • 8
  • 41
  • 67
0
votes
1 answer

Error attempting to create polygon with CGPathAddEllipseInRect

I am trying to create an ellipses. I used bodyWithEdgeLoopFromPath and it worked but there seems to be something wrong with it because sometimes other objects get caught in the middle of it. But I want the ellipses to be solid, So I tried…
majidarif
  • 18,694
  • 16
  • 88
  • 133
0
votes
1 answer

UiProgressView Custom with PaintCode

I'm doing several tests with drawing a PaintCode progressView implementing it within a custom UIView controller ... The procedure is as you well know place a UIView object and change its class progressview in order to invoke the customization within…
kAiN
  • 2,559
  • 1
  • 26
  • 54
0
votes
2 answers

PaintCode doesn't work with the Storyboard

I bought Paintcode and I tried this example this example. It works if I use a nib but when I use the storyboard it doesn't (it doesn't draw the custom button). I know it's a lot of code to go through but I am sure somebody more experienced can find…
Mat
  • 6,236
  • 9
  • 42
  • 55
0
votes
1 answer

drawRect or UIImages for UI elements?

I'be created several apps in the past by just making UI elements in Photoshop. However I recently discovered PaintCode and am wondering how much "better" it is to create the entire UI with UIView and UIButton subclasses and draw them in drawRect. If…
rnystrom
  • 1,906
  • 2
  • 21
  • 47
-1
votes
1 answer

Resizing image generated by PaintCode app

I have imported a vector image to PaintCode app and then export its Swift to code. I want to use this vector image in a small View (30x30) but since I want it to work on different devices, I need it to be size-independent. The original size of the…
R.Davis
  • 29
  • 4
-2
votes
2 answers

iOS How to achieve my drawing using a bezier path?

I need to have a border and corner radius on the section of my collectionView. So if it's the first row I need to draw a bottomless rect layer. And if it's the last row I will draw a topless layer. How to achieve my drawing using a bezier…
developer_I1
  • 65
  • 1
  • 8
-3
votes
1 answer

Integrate PaintcodeApp swift code into Xcode

I have an svg image from the designer. I want to get equivalent swift code from Paintcode app so that it fits perfectly inside a circular button . How do i set the frame? Suppose i have two circular buttons as shown in below screenshot and i wanna…
j.krissa
  • 223
  • 5
  • 21
1 2 3 4 5 6
7