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?
Asked
Active
Viewed 681 times
6
-
1Paintcode 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 Answers
10
You can set it as a variable or pass it in as a parameter, using the drop down when editing a color.

Cory
- 2,302
- 20
- 33