Buster Benson I need more goals.

build an iPhone app (read all 11 entries…)
Day 3 of iPhone app building camp 17 months ago

Here’s where I ended after another 8 hours of frustration and excitement and confusion and basically mashing my brain in ways that don’t come naturally.

Last night I decided to draw out a screen flow diagram for my eventual Credit Card Roulette app. I then proceeded to have dreams about it last night… dreams that for once helped me figure out a way to make it really easy to play a game fast.

Basically, you select the number of players playing, and start a game. This will take you to a screen that gives you a field for each person in the game, so you can enter their name.

Then, the game starts, and you flip the phone over so it’s upside down, and turn it over to reveal the first person who doesn’t have to pay. Turn it upside down and back for each person to be revealed.

The winner is eventually announced, and you have an option to save the game. If you save it, you enter the location name, and the bill’s amount. Each player has a record in the database that keeps track of how many times they’ve lost and won. And how much money they’ve paid and not paid.


11am

I spent the rest of my morning starting the project, and trashing it, about 30 times. Seriously. I am still wrapping my head around how to connect views to controllers, and where it makes the most sense to store instance variables.

4pm

Finally, I decided to take it really slow and work on just trying to get a slot machine wheel to hook up to its data source. Not an easy task! My brain hurt by the time I figured out delegate methods.

Then, I spent a good couple hours trying to figure out how to make a line of text update with the slot machine wheel’s selection. The build kept failing due to a string that I was prematurely “releasing”. The debugger is really difficult for me to read when it doesn’t have obvious errors or warnings.

6pm

I finally got it to all work together. The button even calls a method. Since I’m meeting Kellianne at 8 to go on some city adventures, I’m gonna stop here before trying to figure out how to get the app to go to the next screen. You’d think it would be easy, but this isn’t as simple as a link I’m finding out. I think I need to create a view somewhere, and push it onto the window stack. This will be tomorrow’s big task.



Comments:

 

I want to:

The world wants to...

43 Things Login