4

I am new to sketch 3. I have a hand on experience with Xcode and iOS development.

My question is wether we can directly use sketch elements in xcode or sketch is only used for prototyping the UI?

For example, If I design Label with a text field in sketch then can I used it as UI Label and UITextField in Xcode?

ios nerd
  • 159
  • 2
  • 2
  • 4

3 Answers3

4

In my experience as a designer that also develops in Xcode any solutions that claim to go directly from Sketch into Xcode either become vapourware after some time or don't provide a very good solution. I assume it's because Auto Layout is quite complicated and fragile.

It's best to just learn iOS development using Storyboards or possibly SwiftUI for layout. There are some elements that you can get from Sketch into Xcode such as colors, typography and iconography.

Here's a list of apps that can help you with that:

Vash
  • 53
  • 3
1

There is not a way to integrate the sketch elements in xcode, you can use a sketch plug-in you can buy: https://www.paintcodeapp.com/sketch

Marco Santarossa
  • 4,058
  • 1
  • 29
  • 49
1

I had the same problem, the design was already prepared in the Sketch and wanted to get the code from it easily. My friends and I've working on a solution for converting design into UI codes, last 2 years.

We've developed Monday Hero platform to improve the development phase and actually save time for repetitive code. https://www.mondayhero.io

In Monday Hero, you can upload design and get responsive code with Storyboard, Xib or only code options. You can also select the elements on the design, group them as you wish for your code library and download it easily in like 15 minutes :) It was a dream of me to get the UI code that easily, I hope it can be also useful to you.

  • 1
    Wow, a pretty impressive tool. Will check it out sometime. Great job Burcu Geneci! – Starsky Jul 08 '21 at 10:15
  • Thank you @Starsky, We're working on creating UI Components, so getting custom component library as a fast starter kit for mobile projects. – Burcu Geneci Jul 27 '21 at 12:23