Archive for January, 2010
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 [...]
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 [...]
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 [...]
Play iPhone Movies in Portrait Mode with MPMoviePlayerController using Public API’s
Editor’s Note: With the release of SDK’s supporting 3.2 and 4.x, this approach is no longer necessary. The new movie player can now be displayed in either direction, landscape or portrait. Read this post for a more information: Display iPhone Movies in Portrait Mode (Updated) It’s been covered by a number of websites and blogs [...]








