Monthly Archives: August 2012

Aussie Lingo Audio Companion Updated

I’m happy to announce that after couple of weeks spent coding, recording and sound designing an update for Aussie Lingo Audio Companion is now available in the app store.
The update includes:

– 20 more fun Aussie Slang and phrases examples
– Updated iPhone and iPad screen layout
– “Suggest” button to iPad and iPhone menus to enable lingo suggestions to be submitted directly from the main screen
– View Aussie Lingo Facebook page button in info section

Thanks to everyone who has submitted suggestions. Keep them coming!

To download or update you visit the app store

Here is the updated iPhone interface:

and here is the updated iPad interface:

Sound Design work of late

Due to a holiday in the UK, a bunch of assignments for my Uni course, some iOS, java and ksp programming plus some short films I’ve been a bit busy lately. This is good although it was probably not the time to try to cut down of my coffee consumption.
Anyway caffeine addiction aside, I thought I would post a couple of the jobs I have been working on lately at Risk Sound.

Midnight Snack:

This I did a while back with the lovely crew from Active Motion but have just uploaded to my vimeo site so though I would repost it.

Bank of Melbourne TVC:

Santos World Tour:

 

 

 

 

Aussie Lingo Audio Companion – (Australian Slang Dictionary with Audio)

I am about to release a new version of Aussie Lingo Audio Companion – (Australian Slang Dictionary with Audio) in the next couple of days. This update will slightly update the iPhone interface to make it more user friendly, add a suggest button to be able to suggest new lingo straight from the main screen of the iPad and iPhone version, update with 15 or so new bits of lingo and add a button which will open the new Facebook page….

Which brings me to the great segue of…. the new face book page!
https://www.facebook.com/AussieLingoAudioCompanion

If your wandering around Facebook and need something to “like” it’s just sitting there… waiting…

Thanks to everyone who has already liked it. Once again if you want to check out the details or some audio samples head to or use the menu above!

How to create an NSDictionary from a plist file

In a new iPhone app I am currently developing I needed to be able to import the data from a plist file (apple’s XML formatted file) stored within the app bundle and display it in my app. Luckily there is a very handy class method in the NSDictionary class which enables you to create a Dictionary (basically an array with key values) from a file.
NSDictionary *dict = [NSDictionary dictionaryWithContentsOfFile:file];

As I wanted to be able to iterate through all the values in the plist, I created a main dictionary named “database” then within that an array which stored another dictionary that holds my key based data.

This is the code I used to open the plist file and iterate though all the values it contains:

NSString *file = [[NSBundle mainBundle] pathForResource:@"list_of_dogs" ofType:@"plist"];
        NSDictionary *dict = [NSDictionary dictionaryWithContentsOfFile:file];
        
        NSArray *dogArray = [[NSArray alloc] initWithArray:[dict objectForKey:@"database"]];
        
        
        for (NSDictionary *sectionDict in dogArray){
          
            //loop through the data from the plist
            
            
           NSLog(@"Dog Name = %@ ",[sectionDict objectForKey:@"dog_name"]);   
           NSLog(@"Dog Type = %@ ",[sectionDict objectForKey:@"dog_type"]);  


         
            
            
        }

This is the XML format of the plist file I created:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>database</key>
	<array>
		<dict>
			<key>dog_name</key>
			<string>Jasper</string>
			<key>dog_type</key>
			<string>Great Dane</string>
			
		</dict>
		<dict>
			<key>dog_name</key>
			<string>Samd</string>
			<key>dog_type</key>
			<string>Jack Russell</string>
			
		</dict>
	</array>
</dict>
</plist>

Any questions? hit me up in the comments