iOS Training: Day 1

Today was the first real day of class. Over the course of about 12 hours working, I went through the first six chapters of the book we are supposed to make it all the way through this week.

Today’s chapters got me through three different apps, two of which made it to my iPhone. Nothing super exciting, but it is definitely impressive to see how fast these things can be put together.

The first app we built is called Quiz. It basically has a button to show a question from an array and another button to show the answer to that question. Then you show a new question, and a new answer. So on and so forth. It was a good tutorial to learn about building interfaces and connecting them to the code through the Interface Builder, or whatever you call it now that it’s part of XCode.

The second program we built today was basically a console program with no interface that was kinda like an inventory app. It was a little more in depth on the code and introduced a lot of memory management stuff, but not being able to deploy it to my phone made it a lot less interesting.

Where Was I ScreenshotThe last program of the day was called Where Was I. This was where things started getting interesting. It included a map view and used CoreLocation and MapKit to acquire the device’s location and display it on map. After that, you can type a string into a text field and drop a pin on the map with that label. Again, nothing too complicated, but neat to see it all come together. After dinner, I went back to the lab and did some of the “extra credit” work on that project. I used some more functionality in MapKit to reverse geocode the location of my pin, and add the city and state to the pin’s label as a subtitle. I also added a segmented control to my map that lets me change the map type to satellite and hybrid, along with the standard map. It took me a couple hours to figure it out, but now that I know how it works, it seems pretty easy. It was nice to have the instructor there to get help with questions and help to find problems. It’s super impressive to see how quickly he could read the code and get oriented.

I got back to my cabin tonight around 10, and I’m sitting here watching a ballgame while I type this up. Even though it was such a long day, it really didn’t seem like it, so I hope the rest of the week goes the same way.

About Scott Allen

Scott Allen is from Indianapolis, Indiana. He has been working with HTML, CSS, PHP, & MySQL since the late 1990s, and has extensive experience in database design and development, server-side scripting, content management, and front-end user experience in both client services and in-house settings. You can connect with Scott on Twitter or via email.
This entry was posted in Apple, Code, iOS Bootcamp, Tech and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *