Archive for January, 2010
iPhone Developer Tips Stats:
|
Resize/Scale of an Image – Take 2 – Coding a Thread Safe Approach
In the first post on image resizing, How to Resize/Scale an Image using an Objective-C Category, I wrote barebones approach to resizing an image. This works well for simple cases, however this approach is not thread safe as it uses the global current context.
I attended a recent Apple Tech Talk and one of the more [...]
Create Readable Links to Your iPhone Apps and Company in the App Store
Creating a link to your application or company in the App Store serves many purposes, linking from your website, sending a link to a friend or app review website, etc. You can easily create a link to your application by right clicking on the application name or icon in iTunes. For example, referring to Cartoons [...]
Sam Kinison and Scream Scenes iPhone Apps
Mill Creek Entertainment is in the business of providing video home entertainment. Their DVD product line consists of classic movies, television episodes, historical documentaries and feature films.
I’ve been working with Mill Creek to come up with creative ways to leverage their content in digital formats beyond DVD with the iPhone as the first mobile platform.
Scream [...]
C Conditional Operator aka Ternary Operator
I’ve always been fond of the conditional operator in C, which is essentially a terse way to write an if/else statement. Given this operator works with three operands, it is often fondly referred to as the ternary operator.
The conditional looks as follow:
condition-test ? first-expression : second-expression
If the condition-test is nonzero, the first-expression is evaluated, otherwise [...]
Play iPhone Movies in Portrait Mode with MPMoviePlayerController using Public API’s
It’s been covered by a number of websites and blogs on how to play movies in portrait mode using MPMoviePlayerController. Problem is, every solution that I’ve been able to find uses private API’s to tell the player to flip the direction of play.
Other than the built-in movie player, another option is to use a UIWebview, [...]








