How to Format JSON in TextWrangler [#iosdev, #json, #webdev]

If you’re a TextWrangler user and you wanted to be able to format a block of JSON, you can do it yourself by following the instructions at Java Dev on Mac OS X: Format JSON in TextWrangler 1. Create text (Python) file called “Format JSON” in the following location: ~/Library/Application Support/TextWrangler/Text Filters/Format JSON.py 2. Add […]

Google introduces Dart: “a language for structured web programming”

Google introduces Dart: “a language for structured web programming”  Dart: a language for structured web programming – The official Google Code blog Today we are introducing an early preview of Dart, a class-based optionally typed programming language for building web applications. Dart’s design goals are: Create a structured yet flexible language for web programming. Make […]

SitePoint’s new “HTML5 Development Center”

I didn’t know if this would be helpful but SitePoint has been putting together an “HTML 5 Development Center” http://www.sitepoint.com/tag/html5-dev-center/ The only thing that made me “raise an eyebrow” was that the banner on the page says “Developed in part for you by Internet Explorer 9” and evidently Microsoft has been assisting in the project. […]

There and Back Again… When iOS Apps Go to The Background

Recently, I was trying to understand what happens when an iOS app goes into the background and then re-emerges later in various ways. It actually wasn’t as straightforward as I thought it would be. This may have already be documented somewhere, but it was a useful educational exercise nonetheless. The driving reason for exploring the sequence […]

#iosdev iPad UISplitViewController QuickTip for shouldAutoRotateToInterfaceOrientation

I wasn’t having a problem, but I was just curious about the question of whether or not it was necessary to make all your shouldAutorotateToInterfaceOrientation:interfaceOrientation overrides jive when using a UISplitViewController. Sure enough, as is mentioned here in this Stackoverflow thread: All of your view controllers INSIDE the split view controller have to override [shouldAutorotateToInterfaceOrientation:interfaceOrientation]… […]

Git: The difference between Pull and Fetch

I really appreciated how Greg Hewgill summarized the difference between the two Git functions “Pull” and “Fetch” on Stackoverflow: In the simplest terms, “git pull” does a “git fetch” followed by a “git merge”. You can do a “git fetch” at any time to update your local copy of a remote branch. This operation never […]

Easy Audio Playback With AVAudioPlayer – Tutorial [Mobile Orchard]

  Can you guess what I’ve been doing lately? Here’s another great tutorial from Dan Grigsby of Mobile Orchard, this time on playing audio with the AVAudioPlayer in the iOS SDK… Tutorial: Easy Audio Playback With AVAudioPlayer The iPhone SDK’s AVFoundation framework includes AVAudioPlayer, an easy, feature rich, Objective-C based way of playing audio files. […]

NineOneOne: First App Submitted to iTunes AppStore!

After weeks/months of work I have submitted my first app to the iTunes AppStore! NineOneOne ~ one-touch emergency dialer So, now we wait for the approval/rejection to occur (hopefully not the latter)… In truth, the amount of work can actually be measured in hours or perhaps days, with the actual building of the app being […]