$aleOrigin

Archive for 2009

Please consider subscribing to Mobile Developer Tips
RSS feed or following us on Twitter


Own an iPhone or iPod touch? I Could Use Your Help To Test a Streaming Video App

Cartoons to Go is a streaming video application that plays vintage cartoons (from 1920′s through 1950′s). Recently there have been a handful of comments about the application not working as expected. I am looking for 10-15 people who own an iPhone or iPod touch to give the application a try. I’ll create a build specifically [...]

iPhone Apps

Accessing iTunes Reports When iTunes is Closed

Over the holiday Apple shutdown iTunes: Even though you can’t use iTunes to upload new apps, change current app descriptions, prices, etc, you can access your reports with the following link: https://itts.apple.com

iTunes

NSRange and NSString Objects

When poking around NSString methods you’ll find many references to NSRange, which is nothing more than a C structure that is helpful for describing a series of items, including a starting location and a count. For example, a range is helpful to extract a substring from another string, where you specify the starting location and [...]

Cocoa

Cartoons to Go! iPhone Application – Version 1.2

Back in mid-November I posted about a personal iPhone project, Cartoons to Go!. In early December I submitted the 1.1 release which included a major overhaul to the UI going with a retro-TV interface as shown in the figure below:

iPhone Apps

Compare NSString Objects (Updated)

This tip is for those new to Objective-C and Cocoa and walks through some basics on comparing NSString objects for equality. Compare NSString objects with == NSString *str1 = @"Homebrew"; NSString *str2 = @"Homebrew";   // This compares the addresses of the string if (str1 == str2) NSLog (@"str1 equals str2"); else NSLog (@"str1 does [...]

Cocoa

Show Your Support for iPhoneDeveloperTips.com

Since launching iPhone Developer Tips back in August of 2008, there have been almost 200 tips, tricks and tutorials posted, an average of just over 12 posts per month. The number of page views on a monthly basis is pushing 70,000. All things considered, not too bad… My primary motivation with this blog is to [...]

General

Get iPhone Device Name, Unique Device Identifier (UDID), OS and Model

The iPhone SDK includes a singleton of class type UIDevice that you can use to retrieve device specific information (this works equally as well with the simulator). Available Properties in UIDevice uniqueIdentifier – identifier guaranteed to be unique for every device name – arbitrary name found in General > About setting on device systemName – [...]

Device

Tell Xcode Not to Compile a File

Editor’s Note: To read more about compile options and file date/time stamps, please head over to this post: Touch or Untouch a File in Xcode. By default, when you create a new file or import a file into Xcode, if the file type is recognized as a source file (.c, .m .js, etc), the file [...]

Xcode

Gotcha: Case Sensitive PNG Filename

Here’s one that will trip you up if you aren’t careful…look at this code: timerButton = [[UIButton alloc] initWithFrame:CGRectMake(104, 410, 50, 50)];   // Notice the filename "timer.png" [timerButton setBackgroundImage:[UIImage imageNamed:@"timer.png"] forState:UIControlStateNormal];   [timerButton addTarget:self action:@selector(buttonPressed:) forControlEvents: UIControlEventTouchUpInside];   [self.view addSubview:timerButton]; Simple enough, create a button, use the image timer.png for the normal state, and [...]

Graphics
All Content Copyright © 2008-2012 • Mobile Developer Tips, All Rights Reserved.
iPhone and iPad are registered trademarks of Apple, Inc.
iOS is a registered trademark of Cisco Technology, Inc.