Giter Site home page Giter Site logo

zhenghe's Introduction

Zheng He

is a toy location search app named for the Chinese explorer Zheng He.

Dependencies Reviewed

  • Carthage for package management. It's a popular standard choice right now; I don't have an opinionated preference over, say, CocoaPods.

  • SwiftyJSON to slightly ease the pain of JSON parsing. We had to roll our own a year ago, and easy reflection-based JSON is one of the few things I miss from Javaland. It's naturally overkill in this case, but let's pretend this app is supposed to get larger.

  • RxSwift and associated libs for reactivity. I haven't developed a strong preference between Rx* and Reactive*; we sadly couldn't use either in our last app, but this has been a great opportunity to exercise one of them a little.

  • SwiftLint is run if installed; always handy to have something to yell at you.

Misc Remarks

Being time-constrained, I'd like to acknowledge a few points of good app structure that aren't present here:

  • Protocols aren't used to ease dependency stubbing

  • UI tests are a very useful and totally absent tool!

  • URL construction by string interpolation isn't a great generalizeable pattern.

  • External URLs of things like Geonames shouldn't be hardcoded in source code.

zhenghe's People

Contributors

bbqbaron avatar mark-urbanthings avatar

Watchers

James Cloos avatar  avatar

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.