Posts Tagged ‘programming’

So you have updated your app to support iOS 4 and now you are all ready to submit it. But you get a nice bold red error on Apple’s iTunes Connect site after you upload your app that states:

The binary you uploaded was invalid. The application-identifier entitlement is not formatted correctly; it should contain your 10-character App ID Seed, followed by a dot, followed by your bundle identifier.

(more…)

iPhone Programming Contest

I will be hosting a series of iPhone programming contests. Please share any ideas you may have. If you would like to donate a prize from your business in exchange for publicity, or just out of pocket as a kind gesture, please leave a comment below or send me an E-Mail.

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…)

Make your app downloads skyrocket


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



(more…)

Fun with C99 Syntax

Found this interesting link today.

“The C99 language added some pretty neat features to the ANSI C we know and love (now known as C89). I used a construct called compound literals in my iPad Dev Camp presentation, and it seemed new to a lot of people. Here’s a summary of some lesser know features about C99 that are worth knowing. And, since Objective-C is a strict superset of C, all this applies to Objective-C, as well. Best of all, as of recent Xcode (3.0? 3.1?), C99 is the default C dialect for new projects, so you don’t need to do anything to start taking advantage of these…”

Click here for the full article.

I have submitted SpaceBubble to Google Code. Pick up a copy of the source code here!

iPhone Game Proof of Concept

I am working on a new iPhone game. It will be a physics-based puzzle game involving a maze-like playing field and lots and lots of crazy gravity. I won’t give away too many details though. ;)

After multiple headaches and thinking it may be harder than it’s worth to implement the physics involved with radial gravity, I stumbled across Cocos2d and Box2D. I was impressed with the linear gravity but somewhat disappointed to find there was no support for radial gravity forces so I had to code up an implementation on top of the existing framework.

Thanks to some tips from a fellow software developer I have a working representation of orbital mechanics at its finest.

Applied a variation of the Inverse Square Law for the radial gravity.

(more…)

Here is some simple code to setup an animated sprite using a UIImageView. I used this in my game SpaceBubble and although it should be pretty self explanatory, I commented the code as heavily as I possibly could. This uses a class called Sprite that inherits from UIImageView. The only thing changed from a standard UIImageView is that there are values you can store in the sprite such as point values for coins in a game. setupAnimatedSprite really simplifies the process of creating animated sprites using UIImageViews. So simple in fact you can do it with one line of code! Enjoy! Feedback much appreciated.

(more…)

Twitter Me