GithubHelp home page GithubHelp logo

legendary-octo-couscous's Introduction

iOS workflow License: MIT Issues Releases

legendary-octo-couscous

Technical Interview Project

Requirements

Bit manipulation: Write a small app, that given 2 integers (X and Y) would calculate the number of bits that will need to be changed in order to convert X into Y. For example if your method is passed integers 11 and 15 then calculation should return a 1.

  • One screen; with 2 edit field for input numbers
  • “Calculate” button
  • When user presses “Calculate” app would display result

Design Decisions

UIKit

Given that technical project (1) for parsing strings was done in SwiftUI, I figured showcasing UIKit might be more appropriate.

Storyboard

Storyboards are friendly to a very small team of developers but as the project grows conflicts in the storybaord files will arise and those conflicts are much harder to fix than in typical Swift code.

I purposefully removed the default storyboard and converted the app to use only code generated interfaces.

Factory

Not sure if your team use factory pattern, but wanted to introduce it into the project

UI Testing with formatters and specific text values

BitDiffViewErrorMessages and BitDifResultFormatter are also imported into the UI test target for ease of testing. Should coding guidelines prefer to use pre-formatted static text strings to compare against this would definitely be easy to do.

Licensing

The code in this repository is available under MIT license except the App Icon files.

App icon provided under limited distribution by Encoded Life Inc - DO NOT USE IN YOUR OWN PROJECTS

legendary-octo-couscous's People

Contributors

ekscrypto avatar

Watchers

 avatar  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.