Flatiron Day 25: Networking
Kicking-off week 5 we started the morning with pair coding on our class App LocationQuiz
Reading Time 1 min
Kicking-off week 5 we started the morning with pair coding on our class App LocationQuiz. We implemented the design we crafted on Friday – getting location venues from FourSquare and filling a new Nearest Locations Table View controller. This was a good exercise in practicing our Inter View Controller Communication as the Nearest Location needs to send its chosen venue object back to the presenting View Controller that spawned it. Instead of implementing a delegate in the presenting controller we did this by having a property on both sides and setting that object before we popping the Nearest Location View Controller.
After some lunch at Sophie’s we went into Afternoon Lecture that covered the anatomy of a request. This introduced networking at a broad computer science level from the abstract to the specific: from the 7-layer ISO OSI model through browser render phases and the Two Generals Problem. We discussed HTTP verbs, response codes, DNS, and even How They Lay Submarine Cables.
We finished up by reading some of About Tim Berners-Lee quotes who was of course a Cocoa man coding in Cocoa before it was called Cocoa (true NeXTStep days).
We then started a Weather App with the Weather Underground. This got us to introduce NSURLConnection. Tomorrow, we’ll continue this but start using it in the background in the data store. This will get us to a point where we can start AFNetworking.
Also, tomorrow we have a guest speaker, Matt Bischoff, who will discuss Good Objective-C Coding Style. Our reading tonight is The NYTimes Objective-C Style Guide which I’ll do right after I finish the homework due tonight.
Posted by Flatiron School / November 5, 2013
Learn to Code Python: Free Lesson for Beginners
Sabrina Hernandez: From Dental Tech to UX / UI Product Designer
After 7 years as a dental tech, Sabrina Hernandez was ready for a change. She enrolled in Flatiron School and has since pivoted into a career in UX / UI Product Design.