Categories
*nix ableton app AR arduino AVR bots cocos2d code command line controller Eurorack field recording hack hardware instrument Interface Builder iOS iPad iPhone live recording make MaxMSP MIDI mixing modular monome MPC nature Objective-C online OSC OSX pachube patching prototyping Python script solar sound Synth track ubiComp web XCodeFlickr! Feed
Recent Tweets
- No public Twitter messages.
Links
-
Recent Posts
Archives
- February 2013
- October 2012
- September 2012
- August 2012
- July 2012
- April 2012
- March 2012
- February 2012
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- July 2010
- June 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
Meta
Category Archives: Objective-C
Updating An sqlite CoreData Backing Store On iOS
Something that has unpleasantly surprised many an iOS developer is that to update the data in an sqlite database that is the backing store for CoreData you need to do more than just make a new release of your app … Continue reading
Posted in app, code, iOS, iPad, iPhone, Objective-C
Tagged backing store, CoreData, database update, iOS, iPad, iPhone, sqlite, versioning
2 Comments
How To Combine Two Images In iOS
A question that has been asked a lot on my iOS Still Image Capture With AVCaptureSession post is how to combine the overlay image that is shown with the image that is being captured by the camera. The more general … Continue reading
Posted in app, AR, code, iOS, iPad, iPhone, Objective-C
Tagged combine images, Image Capture, iOS, iPad, iPhone, layering images, Quartz
32 Comments
The UDID Apocalypse and: How I Learned To Cut Back On NSUserDefaults And Love The Keychain
Edit: To be honest, I will still use NSUserDefaults for a lot of things, and you should too, I just liked the Doctor Strangelove reference. By now you have probably heard that Apple is deprecating support for attaining a UDID … Continue reading
Posted in app, code, iOS, iPad, iPhone, Objective-C
Tagged iOS, iPad, iPhone, keychain, NSUserDefaults, UUID
4 Comments
How To Use The Front Facing Camera With AVCaptureSession
A number of people have asked how to use the front facing camera for the video preview layer of an AVCaptureSession. First I will give you the code to add/change in the existing AROverlayExample project or the AROverlayImageCaptureExample project and … Continue reading
Posted in app, AR, code, iOS, iPad, iPhone, Objective-C
Tagged AVCaptureDeviceInput, AVCaptureSession, choose iOS camera, iOS front camera
4 Comments
Capturing Touches On A View Inside A Scroll View
I recently needed to create a vertically scrolling UIScrollView with a child sub view on which I needed to capture touches. Working with this kind of layering of views and the responder chain can be tricky but it is not … Continue reading
Posted in app, code, iOS, iPad, iPhone, Objective-C
Tagged iOS, iPad, iPhone, Responder Chain, Touches, UIScrollView, UIView
3 Comments
How To Split A Long NSString At Word Boundaries
I recently needed to split an NSString to fit in a certain width. Though you can accomplish this with a UILabel with line breaks set to word wrap and number of lines set to zero or more than one, I … Continue reading
Posted in code, iOS, iPad, iPhone, Objective-C
Tagged NSString, NSString word boundary, Split NSString
2 Comments
Best Online Resource For Novice iOS Programmers
These days the web is awash in blog posts and tutorials to help you get started programming for the iPhone, iPad and iPod Touch. Today I want to point out what I think is probably the best starting place for … Continue reading
Posted in code, iOS, iPad, iPhone, Objective-C
Leave a comment
Plug-And-Play OpenAL / AVFoundation Sound Engine For iPhone Apps
I recently found a great sound engine for iPhone applications that is pretty much plug-and-play. This sound engine was written by Alex Restrepo under a creative commons attribution-share alike licence, so you are free to use it so long as … Continue reading
Posted in code, iPhone, Objective-C, sound
1 Comment
Xcode Script For Creating Properties From Instance Variables For UIViewController
One of my favourite blogs on the net is Matt Gallagher’sĀ Cocoa with Love. Today I was investigating ways to speed up my workflow in Xcode and I found a great mixed Perl and AppleScript script already written by Matt a … Continue reading
Posted in code, hack, iPhone, Objective-C, OSX, script, XCode
Leave a comment
When To Use self.myObject Instead Of myObject In iPhone Programming
I have seen a lot of confusion on the topic of when and why to reference an object using self.myObject versus just plain myObject. It took me a while to understand this myself, and please, if I am mistaken in … Continue reading
Posted in code, iPhone, Objective-C
1 Comment

