<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.7.1" -->
<rss version="0.92">
<channel>
	<title>[iPhone developer:tips];</title>
	<link>http://iPhoneDeveloperTips.com</link>
	<description>Tips and Tricks for iPhone developers</description>
	<lastBuildDate>Wed, 01 Jul 2009 03:03:12 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Silent Mode Switch and Playing Sounds</title>
		<description>In a previous tip, Playing Short Sounds, I wrote an example to show how you can play a short sound, up to 30 seconds, by calling one of the C-based functions in the Audio Session Services library. 

There is one aspect of this that can be troublesome - by default, ...</description>
		<link>http://iPhoneDeveloperTips.com/audio/silent-mode-switch-and-playing-sounds.html</link>
			</item>
	<item>
		<title>iPhone SDK 3 and Deprecated Method Warnings</title>
		<description>A side-effect of developing code on platforms that continue to evolve, is dealing with methods that become deprecated from one release to another. If you've spent anytime at all with Java, you are all too familiar with this concept. With the release of the iPhone SDK version 3.0, a number ...</description>
		<link>http://iPhoneDeveloperTips.com/cocoa/iphone-sdk-3-and-deprecated-methods.html</link>
			</item>
	<item>
		<title>Snoop Dogg App on the iPhone - iFizzle</title>
		<description>I recently completed an iPhone application for Snoop Dogg. Check this out: Snoop did a demo of the application on the Tonight Show with Conan O'Brien.



If you interested to learn more about the app, or have an idea for something similar you would like developed, drop me a note. You ...</description>
		<link>http://iPhoneDeveloperTips.com/announcements/snoop-dogg-app-on-the-iphone.html</link>
			</item>
	<item>
		<title>Playing Short Sounds - Audio Session Services</title>
		<description>If you need to play short sounds, less than 30 seconds, Audio Session Services are your friend. Here is a snippet of code to play a wav file:
SystemSoundID soundID;
NSString *path = [[NSBundle mainBundle]
   pathForResource:@"RapidFire" ofType:@"wav"];    

AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath:path],&soundID);
AudioServicesPlaySystemSound (soundID);


For this to work, you will need to ...</description>
		<link>http://iPhoneDeveloperTips.com/audio/playing-short-sounds-audio-session-services.html</link>
			</item>
	<item>
		<title>Xcode, Folders and the File System - Part 2</title>
		<description>In Part 1 of Xcode, Folders and the File System I walked through a short example on how to import folders into Xcode such that resources within a project have a folder structure that matches the file system.

In this post I will show you two ways to access the imported ...</description>
		<link>http://iPhoneDeveloperTips.com/xcode/xcode-folders-and-the-file-system-part-2.html</link>
			</item>
	<item>
		<title>Xcode, Folders and the File System - Part 1</title>
		<description>Xcode provides a built in mechanism for organzing content within a project (control-click or right click -&#62; Add -&#62; New Group). For example, in the image below, I've created a number of groups for separating the primary functionality of an application into model classes and views. 



Although this is nice, ...</description>
		<link>http://iPhoneDeveloperTips.com/xcode/xcode-folders-and-the-file-system-part-1.html</link>
			</item>
	<item>
		<title>UIColor Macros</title>
		<description>Below are two macros I paste inside every new iPhone project. Besides saving a few keystrokes, they work well when using the color picker application. Let's look at the macros first:


 #define RGB(r, g, b) 
    [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1]
 #define RGBA(r, g, b, a) 
 ...</description>
		<link>http://iPhoneDeveloperTips.com/cocoa/uicolor-macros.html</link>
			</item>
	<item>
		<title>Finding the Xcode Project File in a Folder</title>
		<description>This barely qualifies as a tip worthy of publishing, however, it's something I use regularly so I figured it's worthwhile passing on.

I've been working with some monster projects as it relates to content. What that translates to is really long lists of files inside of Finder. Since I bounce between ...</description>
		<link>http://iPhoneDeveloperTips.com/xcode/finding-the-xcode-project-file-in-a-folder.html</link>
			</item>
	<item>
		<title>Images and Caching</title>
		<description>If you are working with a large number of images in an iPhone application, read on, chances are I can save you some trouble when it comes to memory management. Let me provide some background information...

I've been working on an application which has images divided into several sub-directories:


/imageSet01/thumbnails/pic01.png
/imageSet01/thumbnails/pic02.png
...
/imageSet10/thumbnails/pic01.png
/imageSet10/thumbnails/pic02.png

In addition, for ...</description>
		<link>http://iPhoneDeveloperTips.com/memory-management/images-and-caching.html</link>
			</item>
	<item>
		<title>Debugging Macros</title>
		<description>In a previous post, Yet Another Debug Output Replacement, I wrote a macro that I prefer over NSLog as the output does not prepend the date/time and object information that NSLog does.

Since that time I've pulled together a few more macros that I use on a regular basis for printing ...</description>
		<link>http://iPhoneDeveloperTips.com/debugging/debugging-macros.html</link>
			</item>
</channel>
</rss>
