Giter Site home page Giter Site logo

tuistexample's Introduction

Sample Tuist project

Simple project to explore tuist for generating project Targets and managing dependencies

Dependency graph

Dependency Graph

Project setup

Make sure you have bundler installed.

./setup.sh

This will install Carthage and Tuist as well as generate project files.

Tuist

Tuist uses SwiftGen to generate type safe code for accessing resources. When adding a resource you need to run tuist generate.

Strings

Strings are located in the Module/Resources/Strings folder. Each Module has its own .strings file. For example when creating new UI module Foo strings will be located in Foo/Resources/Strings/Foo.strings.

Foo.strings

"foo_ScreenTitle" = "Foo";

You can access these strings in project using UIStrings type:

label.text = UIStrings.Foo.fooScreenTitle

Other assets

Similar to strings other assets like colors, fonts and images will be accessible through swift type.

Tuist documentation

Useful documentation links to further explore tuist capabilities.

Bootstraping

µFeatures Architecture

Caching

Dependency graph generation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.