Export Only Selected Screen
Convert Adobe XD/Sketch design to code, export the generated UI code for a specific screen as iOS/Android code, and run in both Android Studio/Xcode.
Download Code & Assets
Export all of the screens in the Monday Hero project in only 2 steps.
Click Export Code and choose the path to export.
Select the Download Selected Screen option.
The download will automatically start in a few seconds and you will get a .zip
file that includes the colors, fonts, assets, and UI layout code.
If you don't know how to add ready-to-run files to an Xcode project, you can read it here.
Example of an Exported Project and Generated iOS/Android Code
Monday Hero exports an Xcode/Android Project with colors, fonts, assets, string, and layout files. Please note that there are no duplicate values in colors, fonts, and string files.
The results of the downloaded project are different for Android and iOS Projects.
Project Structure
When you unzip the PROJECTNAME
.zip file, you will get the iOS-Example folder.
Storyboard File The screens are downloaded as Main.storyboard file (Also it is possible to export only code, without Storyboard). Downloaded Storyboard file:
Colors The colors are downloaded as a single file and automatically named by Monday Hero in Colors.swift file. The colors' values are also not duplicated.
Fonts The fonts and their sizes are downloaded in one file as text styles and can be found/edited in the Fonts.swift file.
Strings The strings are also exported in a single file for the whole project in Localizable.strings file.
Assets One of the most important exported files is assets. They are downloaded in 1x, 2x, and 3x densities. They are all ready to use and automatically sized. They can be found in Assets.xcassets folder.
As can be seen above, the project is ready to run. After these steps, the development takes place out of Monday Hero. With already exported project UI as an Xcode project or Android Studio project, and it is ready for development. Now it is time to work on the backend services and configurations as planned. Happy coding!
Last updated