mchoe / SwiftSVG

A simple, performant, and lightweight SVG parser
Other
1.94k stars 229 forks source link

Can't use with storyboard #44

Open EternalBlack opened 7 years ago

EternalBlack commented 7 years ago

As the title tells, I'm not able to make it work with storyboards. Entering SVGView to a UIView doesn't present me an option to enter the SVGName. It simply doesn't detect/recognize the class. Also it's not available in the dropdown. Setting the module manually also doesn't help.

Doing this via code i.e. import etc works fine, just storyboard doesn't work.

Installation was via carthage so maybe this is related to #27

mchoe commented 7 years ago

Seems to be related to https://github.com/Carthage/Carthage/issues/335

jsahoo commented 6 years ago

Agreed, this does seem to be related to https://github.com/Carthage/Carthage/issues/335. I was able to fix the same issue for Cosmos https://github.com/evgenyneu/Cosmos/pull/110 - presumably the same fix should work for SwiftSVG.