Posts Tagged ‘source’

The learning curve of Cocoa can be steep depending on your background, but it’s a climb that is sure to leave a smile on your face every few steps of the way. Just enough to offset the hair pulling and cursing that is sure to ensue from jumping into Cocoa programming for the first time. One of the features that sweetened things up for me was Cocoa’s UIView animation capabilities. There is a lot to cover, and I just don’t have the time to even think about how to approach a lesson on all the animation features. I will give you an example of basic animation and a possible implementation and point you in the direction of Apple’s documentation so that you can build upon what you learned here.

For more information make sure to read Apple’s documentation on the UIView class. There is a lot more you can do with but let this be simply a foundation for you to learn the basic concept.


(more…)

Here is the source code to a simple iPhone project I made that demonstrates a Table View-Based Application with a Navigation Bar Controller to manage the subsidiary screens of content. This application creates a Table View Controller that manages a Table View. The Table View displays a list of color names. When a table cell is selected, a screen of the appropriate color is displayed. Navigation between the table view and the subsidiary screens is managed by a Navigation Bar Controller. The Table View Controller serves as the First (or Root) View Controller of the Navigation Bar Controller.




(more…)

Here is the source code to a simple iPhone project I made that demonstrates the Navigation Controller.




(more…)

Here is the source code to a simple project I made in an iPhone development class I took. Click the + and – signs to increase / decrease the number of sides on the polygon. It was one of the funner projects in that class, so I wanted to share my solution to it.




(more…)

I updated SpaceBubble to support the retina display on the iPhone 4. It was quite simple really, just had to change a few lines of code, rebuild my Entitlements.plist file, and add high resolution images.




Here is the updated Objective-C source code to my iPhone game SpaceBubble! (more…)

You can read all of Apple’s iPhone development documentation and still be a bit lost, especially if you are coming from programming on a different platform. When people ask me how I learned computer programming I tell them everything I learned was looking at how other people did it. And what I am referring to of course, is open source. John Dowa at ManiacDev has compiled an extensive list of open source iPhone apps, each one published in Apple’s iPhone App Store. (more…)

Anybody who has used the iPhone 4 is no doubt blown away by the pixel density. The resolution cannot be described in words. One bit of confusion I had was how exactly to take advantage of the new high resolution screen. I found a useful article from Apple to help clear things up.
(more…)

Ordered an iPhone 4. Going to port my open source game SpaceBubble to support the new resolution and release the source code to that version of the game. Stay tuned!

Make your app downloads skyrocket


The key to success in the App Store is a mystery. Picture inspired by SouthPark's Underpants Gnomes.



(more…)

Sparrow 2D Game Engine for iPhone

I stumbled across this new FREE open source 2D game engine for the iPhone called Sparrow. It is still in an early stage, but definitely a promising start. One of the advantages (or disadvantages) is it is written in pure Objective-C. Look for a full review and possibly a simple game example soon.
(more…)

Twitter Me