6

I would like to 'wire' up a 'color' variable to the an imported svg. I would like to change the color of a variable of the fill with a Stylekit method.Is there a way to do so?

brainray
  • 12,512
  • 11
  • 67
  • 116
  • 1
    Paintcode rocks. But also of note, check out the awesome "IB_DESIGNABLE" and "IBInspectable " in modern Xcode. [tutorial](http://www.weheartswift.com/make-awesome-ui-components-ios-8-using-swift-xcode-6/) , [another](http://www.thinkandbuild.it/building-custom-ui-element-with-ibdesignable/) – Fattie Oct 30 '14 at 15:11

1 Answers1

10

You can set it as a variable or pass it in as a parameter, using the drop down when editing a color.

enter image description here

Cory
  • 2,302
  • 20
  • 33