SVGKit is a Cocoa framework for rendering SVG files on iOS / OSX natively using CoreAnimation.
Questions tagged [svgkit]
38 questions
0
votes
1 answer
import non-ARC code compiled .a file in ARC enabled project
There is a SVGKit on github is compiled in non-arc code, and I get its library file, named SVGKit.a and some header files.
However, my app project is developed on iOS 7 and above, so by default it is managed by ARC.
My question is, is it safe to…

Wingzero
- 9,644
- 10
- 39
- 80
0
votes
1 answer
Trying to save SVGKit image to CoreData
I'm trying to build a Swift app that will query my API server for data related to a food item... because there are so many different food items available, I only want to store the image on the device when the user has chosen to do so. For this I am…

Jody Heavener
- 2,704
- 5
- 41
- 70
0
votes
2 answers
How to put SVGKit in my project
I creat a swift app ,and I want use SVGKit , I follow the steps from GitHub, But I can not
import SVGKit
erro is "no such module SVGKit"
Adition:
so I can not use the kit in my code,
I am new in ios ,maybe something i miss ,please help me ,thanks…

livinspring
- 1
- 1
- 3
0
votes
3 answers
SVGKit iOS loading of image
I've imported SVGKit lib into my project and I would like to load svg image that I have stored in NSString like that:

Skodik.o
- 506
- 4
- 21
0
votes
1 answer
SVGKit: how to split one .svg file into several UIView?
How can how explore a .svg file with SVGKit?
I have issues splitting one .svg file into several UIView.
What I have tried
Here is what I have done so far. If you have any clue on how I should proceed, thank you!
I created a .svg file. I gave the…

Colas
- 3,473
- 4
- 29
- 68
0
votes
1 answer
Center text on (x, y) with SVGKit for iOS
I'm generating an SVG from a NSString* on iOS. I can't center a text around a (x, y) coordinate. I've tried the following:
text-alignment="middle"
text-anchor="middle"
style="text-anchor:middle"
style="text-alignment:middle"
but I couldn't…

StinkyCat
- 1,236
- 1
- 17
- 31
0
votes
1 answer
How to get group, which SVGElement belongs to?
Now I'm doing it like:
NodeList* elementsUsingTagG = [third_floor.DOMDocument getElementsByTagName:@"g"];
auds = [elementsUsingTagG.internalArray objectAtIndex:1];
SVGElement *elem = (SVGElement*)[third_floor.DOMDocument…

Aft3rmath
- 669
- 2
- 12
- 21
-1
votes
1 answer
How to convert svg+xml base64 to UIImage?
I simply have string like…

Bartłomiej Semańczyk
- 59,234
- 49
- 233
- 358