GithubHelp home page GithubHelp logo

issmall / safe-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from safe-global/safe-ios

0.0 0.0 0.0 142.91 MB

Gnosis Safe Multisig iOS app.

License: GNU General Public License v3.0

Swift 85.93% Ruby 0.47% Shell 2.02% C 11.57%

safe-ios's Introduction

safe-multisig-ios

Gnosis Safe Multisig iOS app.

codecov

Coding Style

As of 18.03.2021, this project adopted the Google's Swift Style Guide as well as Apple's Swift API Design Guidelines.

We adopt the following modifications to the above guidelines:

  • 4-space indentation instead of 2-space
  • Line wrapping at 120 characters

Inconsistencies and differences between the project's source code and the aforementioned guidelines shall be corrected as a by-product of the normal work on feature development and bug fixes.

Notable differences that we should look for:

  • alphabetical sorting of import statements
  • separation of testable import with blank line
  • one statement per line
  • trailing commas after last array or dictionary element
  • Add documentation to every (public) declaration.
  • Delegate methods: first object is the source.
  • force-try! Is forbidden except in unit test, test-only code, or in case of programmer error.
  • Force-unwrap and force-cast is strongly discouraged (except unit tests or programmer error).
  • Implicitly unwrapped optionals should be avoided whenever possible.
    • Except in @IBOutlet, Objective-C APIs, unit tests or programmer error.
  • Access level is specified on each member of the extension (if it is not default).
  • Graphical playground literals - use only in Playgrounds, not in code.

Configuration

Export your Infura project key as an INFURA_KEY environment variable:

$> export INFURA_KEY="..."

Optional. If you use the encrypted Firebase.dat configuration, provide the encryption key as environment variable.

$> export ENCRYPTION_KEY="..."

The app will work without it, so that step can be skipped.

Then, run the configure script to install the Config.xcconfig

$> bin/configure.sh

Now you are ready to build the project.

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.