Friday, July 25, 2014

Test iPhone apps in iPad?

In this post I’ll be covering few important things I think you should know if you decide to test apps made for iPhone/iPod in an iPad.

Tuesday, July 1, 2014

Be Grateful

be grateful to your
annoying colleague
abusive person
lost opportunities

Saturday, June 14, 2014

Can Tim Cook boast about Apple’s success? - WWDC 2014

Just finished watching WWDC 2014 and thought I might have slightly different opinion than of Tim regarding Apple’s success. Tim boasts about user base of both iOS 7 and Mavericks comparing Android and Windows 8. Can a user base only be an indicator of its success?

Thursday, May 29, 2014

New yahoo mail

Today when I typed in in my browser (that’s what I normally type to log in to my mail) it took me I’m started to think that they are quite serious about marketing other than identifying it as a bug. It is not the only change I saw so far. I have listed some interesting changes they have made below.

Saturday, March 29, 2014

Open URL - Android

The following three lines of code will open a URL in an Android app. I'm guessing you cannot open a local html file using the same method in your browser.

Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse(""));

Wednesday, February 26, 2014

iOS closes the active Wi-Fi connection after 30 minutes

These days I’m involved developing an app (runs on both iPad and iPhone) that relies on Wi-Fi network a lot. I happen to notice that sometimes device looses its connection to the Wi-Fi network. Rest of the team was complaining that they have to keep on going to device settings to re-connect.

Wednesday, January 29, 2014

Google -> Account Chooser -> Automatic Sign In

If you are experiencing automatic sign in to your Google services and you can't find the "stay signed in" checkbox when you sign out, you have come to the correct place for answers.

Wednesday, January 1, 2014

Can’t declare variables inside a switch case – Objective C

If you were under the above impression then the answer is you can with a little bit of change to your code. I’m guessing you are used to the following format,

switch (value){
case value1:
//some code
case value2:
//some code
//some code

Tuesday, December 31, 2013

The truth about iOS7 being slow

I have seen many posts describing the above fact, mostly regarding running iOS7 on older devices like the iPhone 4. One truth I found in all the stuff I read is the fact about how iOS7 loads its frameworks. As you all know iOS7 is designed for 64bit. Running 32bit apps might consume more memory than otherwise. Bit hard to believe, right? But it is true. This is how it happens.

Monday, December 30, 2013

Arranging UI elements for iPad split keyboard

It is a common practice to rearrange the UI Elements when the keyboard appears (if required). If you split the keyboard (Do the split gesture or long press the keyboard hide button) the keyboard notifications UIKeyboardDidShowNotification and UIKeyboardDidHideNotification will not get called.

Tuesday, December 10, 2013

Date manipulation – Objective C

You can add/subtract days/months/years from an existing NSDate without much of complicated coding if you use NSCalendar and NSDateComponents. Following is an example how you can add a day to an existing NSDate.