background preloader

iPhone Development

Facebook Twitter

iPhone Dev Center - Apple Developer Connection. Technical Note TN2123: CrashReporter. Introduction Mac OS X's CrashReporter is a useful facility for learning about problems your application is experiencing in the field. CrashReporter performs two useful actions: When a program crashes, CrashReporter will record a crash log (typically into ~/Library/Logs/CrashReporter/), and inform the user by logging a message to the system logging facility.In addition, if the program that crashed is running as a logged in GUI user, CrashReporter will present the user with a dialog asking them whether they want to submit a bug report to Apple (see Figure 1).

If the user clicks the Report button, CrashReporter displays another dialog that shows the details of the report (see Figure 2) and allows them to comment it before submission. Figure 1: First CrashReporter dialog Figure 2: Second CrashReporter dialog In this technote I explain how to interpret crash logs that you have obtained from end users.

IMPORTANT: This technote describes CrashReporter as it's implemented in Mac OS X 10.5. CS193P - Cocoa Programming | Announcements. Wooji Juice: iPhone, OpenAL, and IMA4/ADPCM. Saturday 15 November 2008 cocoaiphone Posted by: Canis It's been a while since we've run a technical post here on the blog. I recently ran across a problem that seems to be quite common amongst iPhone game developers, so I thought I'd do a quick post on it: using IMA4 (ADPCM) audio encoding on the iPhone/iPod Touch. IMA-ADPCM is a compression standard defined by the Interactive Multimedia Association that gets you 4:1 compression on 16-bit audio files. It's supported natively by the iPhone — but only using certain APIs.

In particular, it's not supported by OpenAL, which is a shame, because OpenAL is the easiest way to get fast multitrack positional audio on the iPhone. Well, I wanted to compress the audio in Hexterity, to make it a smaller, quicker download, and to take up less space on people's iPhones. Note: I'm going to assume in this article that you already have OpenAL audio playback working on the iPhone with uncompressed PCM data. Overview of IMA-ADPCM Creating IMA4 files. Finding iPhone Memory Leaks: A “Leaks” Tool Tutorial. There are plenty of different places to get a mobile application designed. The problem is that they’re quite expensive. You might be able to figure out how to create your own, but it will probably look very basic. Instead, a good mobile application development software can make it even easier, so that you can build great looking apps all by yourself. The Mobile design Starter Kit includes all the themes and scenarios you need to build whatever app you want.

Guest author Owen Goss (Profile) is the creator of the color-matching game Dapple and founder of Streaming Colour Studios, an independent video games studio based out of Toronto, Ontario, Canada. I’ve been using Instruments a lot lately as I approach the end of my game development cycle. What is a memory leak and why should I care? A memory leak is when your program loses track of a piece of memory that was allocated. Memory leaks happen when you throw away your pointer to that memory. So why should you care? An Example App Instruments.