Filed under Objective-C

Sound Conversion for Cocoa Touch – #in

Introduction I’ve been making an iPhone app for myself at home where I wanted to play sounds. I came across a few issues but I managed to find effective solutions. The first issue being my phone was set to silent but I won’t elaborate that here! Sound Players and Sound File Formats There are two … Continue reading

Objective-C Method signature

Notes on Objective-C Method Signatures I’m still not finding the Cocoa Touch language ‘natural’ so I decided to make a few notes and make sone examples to cement my understating. Examples: – (id)initWithInt:(int)value; defines a method initWithInt that returns a general object (an id) and takes one integer argument. Objective-C only requires a type in … Continue reading

Objective-C Confusion

Introduction As mentioned in a previous post I’m getting to grips with the idiosyncrasies  of Cocoa Touch, i’ll try and document them here. Confusing Errors Sometimes the errors listed are not exactly helpfull, see Confusing Objective-C Warnings and Errors. iPhone 3.0 SDK Development has a very helpfull chapter dealing with confusing error issues.