Archive for August, 2009
iOS Developer Tips - Visitor Stats:
|
|
|
Build iPhone Apps for 2.2 and Earlier, Using Xcode 3.2 and Snow Leopard
Once you upgrade to Snow Leopard, you’ll notice a few things have changed as far as how to create builds for versions of the iPhone/iPod prior to 3.0. The changes are minor, however, I think you’ll agree that things have been simplified. Let’s start with how to get your system working with Snow Leopard: Install [...]
iSimulate Giveaway – We Have a Winner!
In this post, I announced the latest iPhone Developer Tips Giveaway, a free copy of iSimulate, courtesy of vimov, the company that developed iSimulate. If you are not familiar with iSimulate, it’s a handy dev-tool if you need to test accelerometer, multi-touch or GPS code from within Xcode (using the simulator). Those who posted a [...]
dude. The iPhone app
Dude, check out this app. Talk about working on a fun development project. And testing, come on, what’s not to like. The good stuff in this app is the audio and the graphics (nice work Bryce and Jimi). We are going with the simple is good approach as far as the application, that along with [...]
iPhone JSON Flickr Tutorial – Part 1
Two consistently popular posts on iPhone Dev Tips are JSON Frameworks for iPhone Part 1 and Part 2. Seems a good time to revisit the combination of the iPhone and JSON, this time creating a complete working application. This is part one of a three part series in which I’ll build a Flickr photo viewer, [...]
Determine Device Type – 3G or 3GS / iPod First or Second Generation
Using the UIDevice class, you can figure out if your application is running on a iPod or an iPhone. To get this information, access the property named model which will return an NSString of iPhone or iPod touch. However, there may be times when you need more specifics, for example is the iPhone the latest [...]
Accelerometer 101
What follows is the 30,000 foot introduction to working with the accelerometer on the iPhone. There is one instance of the UIAccelerometer object that is shared throughout your application. To start receiving input from the accelerometer, set the update interval for the frequency of updates and set the delegate to receive the callbacks. If often [...]
iSimulate Developer Tool – Register to Win!
I recently wrote about a very handy iPhone development tool, iSimulate. This is great tool if you need to test accelerometer, multi-touch or GPS code using the Xcode simulator. vimov (the company behind iSimulate) and iPhone Dev Tips have teamed up to provide a copy of iSimulate to one lucky developer (iSimulate sells for $16 [...]
Detect Single Tap in UIScrollView
If you’ve ever been using a UIScrollView and had a need to detect a single tap, I hear you. In the Savini Rims and Rides iPhone application, I had a horizontal scrollview of six cars as one element of the user interface. Selecting on a car (tapping once) was to launch a video. Trouble is, [...]
How to Add “More Content” Indicators / Arrows
In my original post about the Bikini.com Supermodel Party iPhone app, I mentioned I would follow up with a few posts on how I implemented various features in the app. I previously wrote about Sliding View On/Off Screen. In this post I will show how I added directional arrows indicating more content in a scrollable [...]
Announcing iPhone Developer Tips Google Group: Share Your Tips and Tricks!
As an extension of the iPhone Developer Tips blog, I’ve started a Google Group of the same name, [iPhone developer:tips]. You can find any number of good forums/groups to ask iPhone developer questions. I created the [iPhone developer:tips] Google Group as there are more tips and tricks than I can keep up with, which is [...]
iSimulate – Testing Multi-Touch, Accelerometer and GPS using Xcode Simulator
I recently spent a few hours working with iSimulate, an interesting combination of an iPhone application and a packaged library you add to an Xcode project. iSimulate provides a unique solution to the lack of support in the Xcode simulator for exercising multi-touch events, accelerometer data as well as GPS location information. The timing for [...]
Is Application Running on iPhone or iPod touch
If you ever need to know whether your application is running on an iPod touch or an iPhone, the answer is as close as this one line of code: NSString *deviceType = [UIDevice currentDevice].model; To get the model of the device as a localized string:
Gotcha: Hiding the Status Bar
Okay, so this is a well-worn topic. However, there are a few potential gotchas that are worth visiting. To begin, if you want to hide the status bar in a running application, it’s quite simple – this technique is handy for things that are best shown fullscreen, for example, I used this technique when previewing [...]
Google Friend Connect on iPhone Developer Tips
I’ve added two Google Friend Connect gadgets to the iPhone Developer Tips blog (lower right sidebar). Thought this would make for an interesting experiment to see if/how Friend Connect might be a useful addition to the blog. The Popular Posts gadget seems an interesting approach for helping to narrow in on interesting and popular content. [...]
Sliding Views On and Off Screen – Part 1 – Creating a Reusable Sliding Message Widget
Editor’s Note: The second part of this series Sliding Views On and Off Screen – Part 2 – Read Contributions shows two additional ways to work with sliding views, one using Interface Builder, another using a UIView. In the previous post on the Bikini.com Supermodel party application, I mentioned that I was planning to show [...]






