Archive for 2010

iOS Developer Tips - Visitor Stats:
276,807 Pageviews and 214,652 visitors in the past 30 days.

For advertising information and rates, click here.

Push Notifications for Ad Hoc Distributions

Here’s a quick one that may save you some time..once you have push notifications working on a development device and it’s time to create an Ad Hoc build for others to deploy and test your app, on the Apple Developer Portal you will need to configure the production SSL certificate for your application and install [...]

Networking

Touch or Untouch a File in Xcode

In a previous post, Tell Xcode Not to Compile a File, I mentioned that when a new file is imported into Xcode, if the file type is a recognized, it will be added to the Compile Sources folder. From there, Xcode will manage if/when the file needs to be recompiled based on its current time [...]

Xcode

Writing a Flashlight Application using the iPhone LED

With the introduction of the iPhone 4, Apple has added an LED alongside the camera. It’s amazing how bright this little bugger is, ideal for a flashlight! Since the release of the iPhone 4 I’ve been meaning to take a few minutes and write a flashlight application using the LED. My understanding from what I’ve [...]

Camera

Get UDID from iTunes

The following tips runs you through the steps to quickly look up the UDID number for a device from with iTunes. Begin by plugging in the device and starting iTunes. Choose your device in the DEVICES section on the left side of iTunes. At this point you should see the iPhone stats (name, capacity, software [...]

iTunes

Create a Universally Unique Identifier (UUID)

UUID’s are 128-bit values which are guaranteed to be unique – typically the value is based on a machines ethernet address combined with the current time since October 15, 1582. UUID’s are string values separated by hyphens, for example, here is how a UUID may look: 13222F23-C76A-7781-0C12-0293E3B34398. The method below creates a UUID and returns [...]

General

Creating Clickable Hyperlinks from a URL, Phone Number or Address

The following tips shows a quick way to create clickable hyperlinks using a UITextView. The trick is to set the dataDetectorTypes property to specify the data type you are after, from there, upon a tap the link will launch the appropriate application, namely Safari, Phone Dialer or Maps.

User Interface

Creating Circular and Infinite UIScrollViews

Editor’s Note: This post was written by Jacob Haskins, Director of Mobile Development at Accella. Thanks to Jon Stroz of Accella for reaching out to me to share this idea. When creating paging functionality for iPhone apps, there may be times that an infinite page loop would be desired. For example, if you have a [...]

User Interface

A Valid Provisioning Profile For This Executable Was Not Found

Over the past few months I’ve been working on a mobile commerce/payment project where my focus is on the architecture and design side of things, sans coding. This past weekend I started a development project and all was going swimmingly until I received the error message shown in the post title. As far as I [...]

Xcode

Voices That Matter iPhone Developers Conference – Register Now and Save $150

Great news, our friends organizing the Voices That Matter: iPhone Developers Conference on October 24-25 in Philadelphia, have graciously provided iPhone Developer Tips readers a $150 savings on event registration, valid now until the start of the conference. This 2-day event offers dozens of interactive conference sessions across five conference tracks. Lots of new speakers [...]

General

How to Prevent Your Application from Being Placed into the Background

By default, when running on a device that supports multitasking, if the user quits the application (pressing the Home button), the application will be notified and moved to the background. This is nice as the response time when the user requests the application again is generally very quick, not to mention the application resumes in [...]

Multitasking

HTTP Basic Authentication – Accessing Password Protected Servers

It’s not uncommon for a server to require credentials for access. A common example is a password protected directory on a web-server that will prompt for a username and password before allowing access. When using a NSURLRequest object to access a server, the delegate methods of NSURLConnection offer a means to be notified when an [...]

Networking

iOS Open Source : Heads Up Display with MBProgressHUD

When the iPhone SDK was released, just over 2 years ago, open source projects specifically targeting the iPhone OS were few and far between. Over the past year there has been a significant uptick in iPhone/iOS open source projects, and with that, I’d like to share various projects as I come across them. Should a [...]

Open Source

Obfuscate / Encrypt a String (NSString)

Apple Keychain Services offer a secure means to store sensitive information. Through the keychain, all the hardwork is managed for you to store and retrieve content. As powerful as the keychain services are, I was recently tinkering with some code to see if I could obfuscate content within an application. I had a few strings [...]

Cocoa

Voices That Matter iPhone Developers Conference – Philadelphia PA – October 16th and 17th, 2010

Pearson Education just announced the Voices That Matter iPhone Developers Conference to be held October 16-17, 2010 in Philadelphia. As with all previous Voices That Matters iPhone events, you will have an opportunity to learn from industry leaders who literally “Wrote the Books” on iOS Development. This two-day conference features a wide range of sessions, [...]

Announcements

Capture iPhone Simulator Screenshots – Revisited – iPhone Simulator Cropper

A colleague on a recent iPhone project was looking for a tool to capture a series of screenshots for an upcoming application demo. In a Google search he first bumped into a post I wrote back in February of 2009: Capture iPhone Simulator Screenshots – Open Source Screen Capture Tool, a nice Mac tool for [...]

Tools
All Content Copyright © 2008-2012 • iOS Developer Tips, All Rights Reserved.