Iron Update: Week 6 | Swift Rules, Objective-C Drools!

No, not really. I'm firmly of the "different tools for different jobs" school, and try to see the pros and cons of whatever language, OS or hardware I'm using. I'm sure if we had learned Objective-C first, my feelings would be reversed. This week we tackled Objective-C by recreating previous projects that had been completed in Swift. Objective-C does have more online help, tutorials, Stackoverflow posts and so on. Pointers negate ... READ MORE

Iron Update: Week 5 | To the Moon!

This week was a very busy week - so busy the post is a week late and rather brief. But! I finished up the weather app and added Parse functionality. I still need to break out the business logic from the view controller (bad form, Jen), which will require a bit of refactoring. It was good to see concrete examples of proper encapsulation and demonstrable reasons to do so. READ MORE

Iron Update: Week 4 | Weathering the Storm

This week we covered some big topics: code-based/programmatic layout, 2D arrays, pulling JSON files from APIs and incorporating into apps, static functions, structs, MapKit and geocoding. Our weekend assignment was a weather app that pulls coordinates using a ZIP code and Google Maps, then uses that info to pull the weather data from Forecast.io. The data is used to populate a table view controller with basic city name/weather data, as ... READ MORE

Iron Update: Week 3 | Uphill in the Rain

This week has been a tough one, even with a free(ish) day on Wednesday. We've started to get into the rhythm of the program, and in my case, friends and family are just now starting to get how challenging and time-consuming the program is going to get. Every day is focused on absorbing the lecture for the first half, and working on the daily assignment(s). If I get done early, I ... READ MORE

Euler Project #4: Largest Palindrome

A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers.

Answer = 906609

var int1 = 999, int2 = 999, product = 0, largestProduct = 0

while int1 > 900
{
    int2 = 999
    ... READ MORE