Emirates Confederation Cup iPad Apps

Baldscone was recently contracted by Stereo Creative to produce an app (actually two) for an Emirates event at the Confederation Cup in Brazil.

The two iPad apps collected data for a goal kicking competition around the stadiums and a second app collated all the data from multiple ipads into a single database to draw the prizes and view/export user data.

Here is a screen capture of the two apps in use (that was used for tutorial purposes).

Alpaca Farm Game v2.0

Baldscone has recently finished developing the second installment of the mobile game Alpaca Farm for Pomegranate. The latest version of the game now has an additional four levels of different gameplay, character customisation and in-app purchases. It is also now available on both the Apple App Store and Google Play Store.

On the iPhone the game was coded natively in Objective C using the very useful Sparrow framework. For Android, Sparrow’s little brother Starling was used to port the game across using AS3.

The app features in-app purchasing, particle effects, SSO Facebook integration, inbuilt stats collecting and of course plenty of new gameplay levels and GUI goodness. Watch the new teaser video game trailer here or check out the app’s Facebook page here.

Download Alpaca Farm for iOS
Download Alpaca Farm for Android

pList Validation

Ahh – its 3am and that pList config file you have been pouring over suddenly won’t compile anymore in xCode ;(
Looking through lines of xml markup at these hours isn’t fun (or easy).

Solution: Terminal + plutil!
Thank you for whoever wrote this genius little utility at Apple.
Just type plutil [path to your plist] and hit return. It will list any formatting errors and even give you a line number.
Genius.

Invoice Split App

Baldscone has produced a simple iPhone app to help with Tim’s accounting.

Invoice Split helps you to calculate the correct amounts of income tax and/or VAT to save every time an invoice gets paid. Quickly calculate the amount of VAT to keep aside for HMRC, how much to set aside for income tax, and more importantly how much ends up being your money to spend! Easily work out how much VAT was included without having to grab a calculator.

For more on Invoice Split visit the app’s dedicated page here.

Best Place To Work iPhone App

Baldscone was recently asked to develop this iPhone application for a client. The application allows users to browse, download and view PDF files. It is a free app and uses several custom coded views – namely the main menu slider view. New PDFs can be updated or added at anytime by the client while the user can navigate each PDF using pinch gestures to zoom, double tap to resize and swipes to flip pages etc.

Download it from the App Store for free now if you are interested in a job!

Using Property Lists

A simple way to get values or settings into a project without having to mess around too much! Just create a property list in xcode called Settings.plist for example and add any key values you need. Then when you instantiate your model load it in as an NSDictionary in and voila!

//Load in Settings
NSString *path = [[NSBundle mainBundle] bundlePath];
NSString *plistPath = [path stringByAppendingPathComponent:@"Settings.plist"];
NSDictionary *plistDictionary = [[NSDictionary dictionaryWithContentsOfFile:plistPath] retain];

//Now get out a value using the key name that we have entered in our pList in xcode
NSString *jsonStringURL =  [plistDictionary objectForKey:@"JSON_URL"];

//Show an alert with the value
UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"pList Settings" message: jsonStringURL delegate: self cancelButtonTitle: @"OK" otherButtonTitles: nil];
[alert show];
[alert release];

Opening Safari from your iPhone app

A very simple task I know but when you are starting out its nice to find it on a blog!
Somewhat similar to using URLRequest in AS3 really.
[code]
NSString *urlString = @”http://www.mywebsite.com”;
NSURL *url = [[NSURL alloc] initWithString: urlString];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url];

[webView loadRequest:request];//UIWebView instance named webView declared earlier
[request release];
[url release];
[/code]