skip to Main Content
+971 55 881 1725 hmimthiaz @ imthi.com

Auto Increment Build Number & Date in XCode iPhone Project

While developing application we keep sharing the builds with others. It is very difficult to find out which version they are using and the date it was build. To overcome this I was searching for methods that can used to auto increment build numbers and set the application build date. I found this article really useful.

Incrementing Build Numbers in Xcode

To that script I made few changes to suit my needs.

Please make sure you have added two variables “CFBuildNumber” and “CFBuildDate” in Project-Info.plist

You can access the version information using the following code

Hope this helps πŸ˜‰

To create rounded rectangular views using iPhone SDK

To create view with rounded corners is really simple in iPhone SDK 3.0 in just 2 steps

Step 1: Include QuartzCore

Step 2: You can now add corner radius to any view

Sample Code: Click to download. In the sample I have done a image view and a loading view with rounded corners. This sample will work only with iPhone SDK 3.0 and above.

If you had got the chance to look at iPhone SDK 3.2 beta you will be surprised to see more exciting stuff that is been added to CALayer πŸ˜€

Why I don’t need flash in iPad ?

Once Apple announced about the new product iPad everyone is so angry for not supporting flash in the device. Apple is not completely avoiding flash. It is not supporting Flash in mobile devices like iPhone and iPad. I am truly in support with Apple on this as Flash is resource hungry. Supporting this technology will really give the end user a very bad experience. I have used flash on Netbook and trust me it is really a resource hog. It will make your Netbook totally not usable. I was not able to do get any good experience with all the site which Adrian Ludwig mentioned on his blog post “Apple’s iPad — a broken link?“.

Today morning I read this article on Shufflegazine “Is Apple turning evil?” and trust me I got angry. Why is the everyone complaining Apple for not supporting flash and they call it evil ? Give me a break. I am sure Tom Gara from The National was not sure what he was talking about.

Today I did a test on Macbook Pro to check how much resource a flash application can take. You will be surprised to see it takes more processing power than windows running in a virtual machine.

About Adobe: They are lazy, Jobs says. They have all this potential to do interesting things but they just refuse to do it. They don’t do anything with the approaches that Apple is taking, like Carbon. Apple does not support Flash because it is so buggy, he says. Whenever a Mac crashes more often than not it’s because of Flash. No one will be using Flash, he says. The world is moving to HTML5. – iClarified

I guess Apple is so true with their statement. Lazy Adobe fix your flash than complaining πŸ™‚

Back To Top