SmartLogic in the Community
Bmore Hackers 9/3/2009

We held our session in the Beehive this evening due to poor wireless connectivity in the conference room again. We had prepared by reviewing lectures 6 and 7 from the Stanford CS193P course and working on part 1 of the Presence application.

Two useful pieces of information that came about today:

  1. When autocompleting a function in Xcode that has multiple parameters, the proper key combination to tab to the next variable is ^/ (control-forward slash). I’ve been searching for that one for weeks.
  2. Here’s a very handy comprehensive list of Xcode shortcuts: http://cocoasamurai.blogspot.com (originally dug up by Ed)

Tonight I completed part 1 of the Presence program while Sinclair caught up on some of the past lectures. This assignment starts out with a walkthrough but then finishes fairly open-ended. I took the opportunity to build out a model class (though not instructed) to represent each Person in our list (I suspect this will come in handy for the next assignment). It was a good exercise in having to think about how to design the classes and data interaction. The PersonListViewController has a static UI layout, but I dynamically populate it with my Person objects. A Person object is passed into the child view (PersonViewController) via a custom constructor before we push the PersonViewController onto the NavigationController stack. I used a separate nib for the PersonView and populate its contents from the viewDidLoad() function.

All in all, I’m starting to get a pretty good feel for how to build useful apps.

Next week’s session will also take place in the Beehive as Mp3Car has reserved the conference room for a separate meeting. I will be out of town next week and consequently unable to make it. I’ve proposed that we don’t actually schedule any new lectures for next week and give folks an opportunity to catch up. In the meantime, you can check out my code on github.