maintop
Recently Added
26
Jan

Creating traditional looking methods in Objective-C

Posted by in Coding Tricks, How-to, iOS

When new developers decide they want to learn Objective-C, at first glance it is quite intimidating. Mainly because of the method calling syntax that looks like this. [awesomeObject doSomethingAwesomeWith:anotherAwesomeObject and:someOtherAwesomeObject with:awesomeness]; Although this format describes the method you calling better, it often feels a bit verbose when coding as it

Continue Reading »

7
Dec

Android to BlackBerry – regex to remove generics

Posted by in Android, BlackBerry, Coding Tricks, Cross Platform

We often have to write the same app across the 3 main platforms: iOS, Android & BlackBerry. And at Cobi, we try to write mostly native apps for performance reasons. So there’s a lot of porting that goes along with that. (There are many tips on how to write java

Continue Reading »

20
Oct
http://www.madmob.co.za/2011/10/20/javadoc-tricks-in-eclipse/ tagged:

No Comments

Javadoc tricks in Eclipse

Posted by in Android, BlackBerry, Coding Tricks, How-to, J2ME

If you know me, you know I’m one of “those” developers who actually sees value in writing comments & javadoc in my code. Part of that comes from my background of writing code that non-developer managers wanted to tweek/break (amazing how the financial world runs on Excel); part from working

Continue Reading »

11
Aug

Quick and Easy iPhone Gradients

Posted by in How-to, iOS

The market for iPhone and iPad apps is competitive and sometimes a bit of extra eye-candy goes a long way. For a couple of projects I have had to give various items a gradient shaded background. There are two ways to do this. Core Graphics or Core Animation. Gradients in

Continue Reading »

15
Jul
http://www.madmob.co.za/2011/07/15/eclipse-productivity-tricks/ tagged:

No Comments

Eclipse productivity tricks

Posted by in Coding Tricks, How-to

If you’re like me, you never bother to “learn” the productivity shortcuts of any IDE – but when they happen to stumble through your life accidentally, you are always surprised – “Wow! You can do THAT?!” This normally followed by feeling a bit silly for not reading the keyboard shortcut

Continue Reading »

29
Jun

Objective-C: Blurry UIView

Posted by in iOS

If you’ve been coding Objective-C interfaces for a while you will know that you set the position of a view using it’s frame property. This property is a CGRect which is made up of four float values. newView.frame = CGRectMake(0.0, 0.0, 100.0, 100.0); At first these floats were quiet an

Continue Reading »

24
Jun

Deploying a BlackBerry app for OTA installation

Posted by in BlackBerry, How-to

When testing a build of a BlackBerry app, one method to deploy the app on a BlackBerry OTA is to host all of the application COD files and a main JAD file with the relevant details of each COD file in it. Once hosted, one can point the BlackBerry device

Continue Reading »

3
Jun

Apps World 2011 Gallery

Posted by in BlackBerry, Microsoft, News, Nokia, Phone 7

Here are some pics from the AppsWorld / Social Media World Forum 2011 Conference that concluded yesterday in Cape Town.

Continue Reading »

31
May

Opening custom files in iOS with your app

Posted by in How-to, iOS

iOS allows you to open custom files with your app. You can send various files to other apps from your app, or receive files to your app from another app. The simplest example would be attachments in Mail. This will also work in Safari. Here, I will show you how

Continue Reading »

25
May

Apps World Africa 2011 in Cape Town

Posted by in Android, BlackBerry, iOS, J2ME, News, Nokia, Phone 7

Next week sees a major event on the calendar for mobile app developers. Appsworld Africa takes place at the Cape Town International Convention Center (CTICC) on 1-2 June 2011. These two days will be packed with technical workshops from industry leaders like Google, BlackBerry, Microsoft and Nokia.

Continue Reading »


Page 1 of 612345»...Last »