Tag Archive for how to

WeBe Bluetooth Mouse for iPhone, iPad & iPod touch

Download on the App Store

 

WeBe, a computer mouse app for the iPhone or the iPod touch, lets you have all the functions of a normal Bluetooth mouse and keyboard in your pocket! The screen of the iPhone or iPod touch serves as a trackpad – slide with three fingers to invoke the keyboard (or use the buttons)!

Game Center Tutorial – How to set up a Multiplayer Game like SNOWGRE

First things first: We just released an update of our MULTIPLAYER App called “SNOWGRE“, available for FREE on the App Store: https://itunes.apple.com/us/app/snowgre/id560450513?mt=8

SNOWGRE_multiplayer

SNOWGRE – Multiplayer game using Game Center

Please have a look, download it for free and consider buying some extra lives and unlock the multiplayer feature to play against people from all over the world! Play agains me => my nickname is “GABEHOE” or against my co-worker Adrian => “ADIMAN84″ :D
We’d love to hear suggestions and receive feedbacks from you… and compete with you! Hahahah…

On this blog post I am going to show you how to use Game Center (Game Kit Framework) to make an amazing Multiplayer Game like SNOWGRE… well, not the whole game, but at least I will show you how to code the multiplayer stuff! ;)

UIDevice uniqueIdentifier property is deprecated – What now?

I’m going to show you in this post how to write a workaround for this problem. Many of the existing Apps in the App Store are dependent on this property (uniqueIdentifier) for uniquely identifying a particular device… Apple stopped supporting a unique identifier for iOS (>=5.0).

Solution 1:

Instead of:

[UIDevice uniqueIdentifier];

Use:

[UIDevice uniqueDeviceIdentifier];

But wait… where does this property it come from? The following source code solves the problem. It generates a unique identifier based on the mac address of the device in combination with the bundle identifier.

Localizable.strings – How to load translation files dynamically from a web server and use them it inside your iPhone App

We all know we can use “Localizable.strings” to translate our Apps into different languages like this in our code:

NSLocalizedString(@"myKey", @"");

… if we have created our “Localizable.strings” file first and put in some keys and values… but what if I want my translation to be dynamic, that is, download it from a webserver and use the key value pairs of that file instead of our “locked” app resources like Localizable.strings after deployment?

Fortunately there is a solution to this problem! I’m also going to show you how to download the file from a webserver using ASIHTTPRequest, a wrapper around the CFNetwork API that makes it very easy for us to communicate with our webserver even through https!

Localizable Strings