This repo contains homework assignments completed during Kodeco's iOS Bootcamp.
markrenaud / iosbootcamp Goto Github PK
View Code? Open in Web Editor NEWHomework Assignments for Kodeco's iOS Bootcamp
Homework Assignments for Kodeco's iOS Bootcamp
This repo contains homework assignments completed during Kodeco's iOS Bootcamp.
Does the hex string represented color can have only 6 characters? :]
Originally posted by @niknovak in #12 (comment)
Header field is also a good candidate to use as an enum (just like you did with a HTTP method) and move away from string based approach to eliminate typos and headaches.
Originally posted by @niknovak in #12 (comment)
Also here, prefer to exit early. This makes everything more readable without too much nesting.
Originally posted by @niknovak in #12 (comment)
Interview: Let's suppose users are putting their own API key in the app so it's not secret to them, but it should be stored securely anyway. What would you do to achieve this?
Originally posted by @niknovak in #12 (comment)
Always prefer Swift's early exit convention. A `guard` would be more fitting.
Originally posted by @niknovak in #12 (comment)
Make an enum that's not depended of this particular class. Could be something to reuse in other classes as well.
Originally posted by @niknovak in #12 (comment)
Would it be worth to reuse JSONDecoder
instance at class level?
Originally posted by @niknovak in #12 (comment)
It's generally recommended to extract magic numbers into variables to give them some meaning. But it's especially useful with animations - we often change them during the prototyping!
Originally posted by @niknovak in #12 (comment)
Interview: How would you handle staging and production URLs? How to easily switch between them?
Originally posted by @niknovak in #12 (comment)
Could it be better to have a method like this throw an error so we can catch unwanted colors during the development more easily? Also, a good place to eliminate problematic color representations from the backend could be a model itself.
Originally posted by @niknovak in #12 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.