Downloads
License – READ ME
Unless specified otherwise, all source code is released under the “Take a kid fishing or hunting license” which means in order to use any of the code in your project you must take a kid fishing or hunting, and give credit and a link back to the author (me) in some way or another such as on your product web page, about box, or legal agreement.

SpaceBubble for iPhone Source Code
Here is the Objective-C source code to my iPhone game SpaceBubble.

Download:
SpaceBubble Source Code for iPhone OS 3 – 938k
SpaceBubble Source Code with support for iOS 4 and the iPhone 4 High Res Retina Display – 1.7MB

iStrobe Source Code
My most popular app to date is now open source. iStrobe is a strobe light for the iPhone 4 utilizing the LED camera flash. Makes an excellent LED flashlight too.
Download:
iStrobe Source Code for iPhone 4 – 1.4MB
[App Store: Get It Here]



Core Location GPS Demo Source Code
The code is based off my tutorial part one and part two demonstrating iPhone Core Location that makes use of custom protocols. The app updates a UILabel with GPS coordinates and speed of travel.

Download:
Core Location GPS Demo – 25k
Core Location GPS Demo Part 2 – 25k

Terrain Generation by touch Cocos2D Source Code
Here is some iOS code that allows you to generate your own terrain in a 2d iPhone side-scrolling style game by simply dragging your finger up and down. The possible potential uses are endless. This code uses Cocos2D. From this article.

Download:
Terrain Touch Generator – 541k

Polygon Demo Source Code
Here is the source code to a simple project I made in an iPhone development class I took. Click the + and – signs to increase 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.

Download:
Polygon Demo Source Code – 33k

Bombs & Explosions with Box2D and Cocos2D – iPhone source code
Here is some example code based off my tutorial on how to implement orbital / radial gravity, but in reverse. This example pushes objects away instead of pulling inward. It makes for a nice explosion effect. Much work would need to be done to make it realistic, but you get the general idea of how to blow things up. Uses Cocos2D and Box2D.

Download Source Code for this tutorial:
Bomb Demo Box2d & Cocos2d Example Source Code – 799k

Radial Gravity with Box2D and Cocos2D – iPhone source code
I wrote a tutorial on how to implement orbital / radial gravity with the use of Box2D and Cocos2D. Here is the accompanying source code. Uses Cocos2D and Box2D.

Download Source Code for this tutorial:
Radial Gravity Box2d & Cocos2d Example Source Code – 692k

Using high res and low res images in your iOS 4 app
Here is some example code demonstrating how to use both high resolution and low resolution images in your iPhone app in order to target the different resolutions on the 3G / 3GS and the iPhone 4 displays. Article can be found here.

Download Source Code for this example:
HighResTest Source Code – 57k

Navigation Controller Demo Source Code
Here is the source code to a simple project I made that demonstrates the Navigation Controller.
Download:
Navigation Controller Demo Source Code – 41k

Table View Controller Demo Source Code
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.
Download:
TableView & Navigation Controller Demo Source Code – 29k

View Animation Demo Source Code
Here is the source code to an iPhone tutorial I wrote that demonstrates how to use animation to slide objects on and off screen instead of simply appearing out of nowhere.
Download:
View Animation Demo Source Code – 475k



Visual MacStandardBasic Source Code
Here is the source code to my commercial BASIC Compiler and visual IDE called Visual MacStandardBasic. You will need a copy of Metrowerks CodeWarrior and Mac OS 8 or 9. The resource forks are stripped but you can download the binary and extract the necessary resource forks from that.
Download:
Visual MacStandardBasic Source Code – 471k
Visual MacStandardBasic Binary – 1MB









[...] вспышку iPhone 4 в фонарик с множеством настроек. Скачать код / App [...]
[...] 12. iStrobe – Turns the iPhone 4 flash into a highly configurable strobe light. (itunes link) (source code) [...]
[...] 12. iStrobe - Turns the iPhone 4 flash into a highly configurable strobe light. (itunes link) (source code) [...]