How To Convert iPhone XIB To iPad XIB?

So you started a universal iOS app and finished up everything on the iPhone XIB. Now it’s time to do the iPad XIB. But wait a minute, do we have to redo the whole thing? Isn’t it repetitive and tedious to all the mappings and connections all over again? The good thing is that there is a way around it. You only need to do minimal work to get your iPad XIB up and running on Xcode 4.   Continue reading

How To Change The Name Of Your iOS App In Xcode?

So you started your app with some silly name and it actually grew into a good project. Now how should we change this name into something more meaningful without Xcode going bonkers over some weird compiler error? Luckily, Xcode has a provision for that. Using Xcode 4.x, we can just do a simple thing and make the whole thing work like a charm. Before doing anything, you have to decide if you just want to change the name as it appears on the iPhone screen or if you really want to change the entire naming structure. If you just want to change the name as it appears to a user, you can change the name of your bundle and you will be all set!   Continue reading

EXC_BAD_ACCESS Problem In Objective-C

EXC_BAD_ACCESS memeSo you finally stumbled upon this error. If you have been working with Objective-C, this is bound to happen. When you release the memory of an object that has already been released, and then try to go back to your previous UIViewController, you will encounter this error. One of the possible reasons could be that you must be using Automatic Reference Counting (ARC) in your project. ARC was a new feature introduced in iOS 5.0 to take care of memory management. This is a very useful feature, but it can also cause errors if you don’t understand what’s happening under the hood.   Continue reading