Another Tryst with USA (Washington DC)


I never imagined my 2nd opportunity to go to USA would knock doors again so soon, it was such an amazing experience that I had in my life. Second time I flew for America from Nanostuffs Technologies. This time I went for Salesforce & iOS integrated based project, located at small but superb place – Bethesda near Washington DC. With no other Indians seen working around, this was one of a...

UIAlertView Deprecated in Xcode6.0


Hi All, Everybody is curious about changes made by Apple in Xcode 6 and newly added functionalities, here is the one noticeable change which is nothing but UIAlertView and UIActionsheet is deprecated. Now Apple has introduced a new class for replacement of those – UIAlertController. Let see how it can be used for displaying alertview : UIAlertController *alertController = [UIAlertController...

Enterprise App Experience at Raleigh, NC (USA)


Woohoo!! It was my first onsite experience ever. I visited THE United States Of America. It was a majestic experience. When got this news from Nishant & Ankita, I was really very excited that ‘I will FLY’ in my life first time. And also was having mixed feeling that how I’ll manage traveling, whether I’ll be able to talk in English the way Americans do, bla bla. I went...

iPhone app icon not showing in iTunes?


  Hi, Today I faced this issue, that even I had added the Icon with all the necessary sizes,  but when client opened ipa in iTunes it was not showing app icon. The solution for this was, 1. Make Icon of 512×512 size 2. Save it with name “iTunes Artwork” without extension. 3. Add it to the application Create ipa and open it in iTunes. Now check it will show you the icon in...

How to unhide Library folder in mountain lion?


In mountain lion operating system on mac, I realized that Library folder is hidden. Library folder contains iPhone simulator folder where we can find database while testing application on simulator.
For unhide Library folder open terminal and type below and press enter , you will see the Library folder
chflag nohidden ~/Library/
Happy Coding 🙂

How to make UITextField’s text selected programmatically ?


  Hi, For making UITextField’s text selected programmatically you need to set the UITextField’s delegate linke below : txt.delegate = self; and then put following code in textFieldDidBeginEditing -(void)textFieldDidBeginEditing:(UITextField *)textField { [textField selectAll:self]; } And don’t forget to add delegate in .h @interface ViewController : UIViewController...

How to keep original orientation of the UIImage..


Hello All, While working on an application, I was having the client’s requirement that, while displaying an image in imageview the image must be of same orientation same as the original. After googling, I got the way for doing this. Here is the way, UIImage *image; //Here assign the image which you want UIImageView *imageView = [[UIImageView alloc] init]; imageView.image = image; imageView...

Memory Management in iPhone applications


Hi, Recently, I came to an issue of memory leakage while developing an application. And that was the frustrating experience. And it taught a big lesson. Every time I was running application on device, it was crashing the app after some memory warning. It was the indication that my application was utilizing lot of memory. In my code, I had allocated lot of arrays but had not released them after...

Shaking Animation of an UIView


  Hello friends, Here we will learn how to add shaking animation to an UIView. It’s just an CABasicAnimation, CABasicAnimation* anim = [CABasicAnimation animationWithKeyPath:@”transform.rotation”]; [anim setToValue:[NSNumber numberWithFloat:0.0f]]; [anim setFromValue:[NSNumber numberWithDouble:M_PI/30]]; // rotation angle [anim setDuration:0.1]; [anim...