Steven T Abell Posted March 23, 2019 Share Posted March 23, 2019 I need a bunch of vector images rendered in Swift code. These are not even very difficult images, but there are a lot of them. Does Designer do this? There are other vector apps that do, but I'd rather not have to buy and learn yet another app. Quote Link to comment Share on other sites More sharing options...
firstdefence Posted March 23, 2019 Share Posted March 23, 2019 Welcome to the forum, Affinity does not export swift code, if you are on Mac there is an app called Paintcode. Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions Link to comment Share on other sites More sharing options...
v_kyr Posted March 23, 2019 Share Posted March 23, 2019 There are some other third party tools who support this, like maybe Biff 2 or iDraw (see here) etc. - Another approach would be to use directly Apple's Core Graphics API in Swift, or some library like Macaw, DrawKit, etc. Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
Steven T Abell Posted March 23, 2019 Author Share Posted March 23, 2019 Does Designer have an export format that might be readable enough to the casual observer that I might be able to do this myself? Quote Link to comment Share on other sites More sharing options...
v_kyr Posted March 23, 2019 Share Posted March 23, 2019 Well not in the way iDraw/Graphic allows with copying and pasting over Core Graphics API code for easy code reusage (see this one here). - Designer instead exports just common vector formats (SVG, EPS, PDF) and thus you would need for those a related/capable file format parser and interpreter in order to make any use out of these for your Swift app. Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.