CodeTea.io
Create a SwiftUI + Android XML project

Create a SwiftUI + Android XML project

A SwiftUI + Android XML project exports the same screens for both iOS (SwiftUI) and Android (XML layouts). Start a new project, add screens, edit the layout and export both outputs.

1. Start new project

Create a SwiftUI + Android XML project – Start new project: screenshot with numbered callouts
Numbers in the screenshot match the list below.
  1. Click button new to start

2. Input info project

Create a SwiftUI + Android XML project – Input info project: screenshot with numbered callouts
Numbers in the screenshot match the list below.
  1. Input name project
  2. Select framework SwiftUI + Android XML
  3. Press button Create

3. Click new screen

Create a SwiftUI + Android XML project – Click new screen: screenshot with numbered callouts
Numbers in the screenshot match the list below.
  1. Click to new screen

4. Input info new screen

Create a SwiftUI + Android XML project – Input info new screen: screenshot with numbered callouts
Numbers in the screenshot match the list below.
  1. Input name screen
  2. Create screen empty
  3. Create from template layout
  4. Click button create

5. Edit layout

Create a SwiftUI + Android XML project – Edit layout: screenshot with numbered callouts
Numbers in the screenshot match the list below.
  1. Tree view to view list component
  2. Component and control
  3. Edit properties component

6. Export code

Create a SwiftUI + Android XML project – Export code: screenshot with numbered callouts
Numbers in the screenshot match the list below.
  1. Click tab export
  2. Click view file to view all source
  3. Mini copy file swiftUI
  4. Break functions
  5. Guide detail swiftUI
  6. Mini copy file android

7. Final export

Create a SwiftUI + Android XML project – Final export: screenshot with numbered callouts
Numbers in the screenshot match the list below.
  1. View list file
  2. File code
  3. Screen view
  4. Download all source
  5. Copy file