You are currently browsing the archives for the It’s in the code category.

Posted on June 30, 2010 at 13:18:43 UTC (1277903923)

Getting a clear picture on UITouch events

I’ve been messing around lately with custom views and touch events as custom views looks a lot more cooler from a user point of view than the default. Here is a bit of code on how to visualize it in your head (about how it tracks your hand). By the way, it isn’t multi-touch friendly [...]

Posted on June 22, 2010 at 22:23:31 UTC (1277245411)

Taking a Facebook Like whereever you go!

I haven’t yet perfected this yet or figured out how to create a bookmarklet which works for all browsers (or the main ones), but you can add the following code to your bookmarks (this also works on all iOS devices too!) which will allow you to share links with your facebook network. The code: javascript:s=’/'; [...]

Posted on April 22, 2010 at 14:37:23 UTC (1271947043)

More reasons why Interface Builder is good for you …

Other than the fact it is also used by Apple themselves, and used by Apple Developers for a long time – I can see another reason why using interface builder is good. The reason – Universal Applications (for iPhone OS).

Posted on May 24, 2009 at 01:27:33 UTC (1243128453)

MySalary 1.3.0 is on the way!

The main focus for this release is about usability. As far as an iPhone app goes, it should at least keep track of the user’s inputs so that if they respond to a phone call or SMS, the app will remember what buttons was pressed, and also know which screen was being presented. This I [...]

Posted on May 12, 2009 at 22:22:35 UTC (1242166955)

Now on GitHub!

Well, I’ve decided that I will create an account on GitHub. This will provide a centralized place to store all my useful codesnippets.

Posted on May 10, 2009 at 18:08:54 UTC (1241978934)

Hang in there! MySalary v1.2.1 is on the way!

MySalary v1.2.1 contains mostly bugfixes but the full release notes / history is now available in this post.

This has now been submitted to Apple (approval pending).

Posted on May 7, 2009 at 23:17:40 UTC (1241738260)

NSXMLParser mucking around and results of it

Was basically mucking around with NSXMLParser and realized how easy it is to read basic XML documents (such as RSS feeds). Much better than my other way (which involves a lot of mess), manually doing it with NSString functions. Decided to take it for a little spin and hacked together a simple RSS Reader which [...]

Posted on May 2, 2009 at 12:27:06 UTC (1241267226)

Custom UIKit Helper function for UILabel

Thought I might share this bit of code with the world to those who wish to delve a little bit further into UIKit coding (as opposed to doing it via Interface builder – which tries to simplify stuff too much in my opinion. And can be a bit daunting). For this code, you will need [...]

Posted on April 28, 2009 at 21:41:35 UTC (1240954895)

Code to determine what UIFonts are available

I don’t know why Apple does not put this in the UIFont documentation, but to those who wish to know what fonts you can use in your iPhone/iPod Touch app, you can use the following code: for (NSString *f in [UIFont familyNames]) NSLog(@"%@", f);

Posted on April 28, 2009 at 00:24:26 UTC (1240878266)

Almost there….

Almost ready for a release quality submission of Tax Calculator v1.2. All bugs resolved. Just need to tidy a few things up and then off to the reviewers it is! Anyway, heres another screenshot because I got a little bored

About

Journal of an apple enthusiast (converted from PC in 2006 and have not looked back!), Twitter junkie and IT professional.


Currently twittering...

Seems theres a midnight launch for the iPhone4 happening.. Oh well Ill get one tommorrow :)