Tuesday, July 31, 2012

Scroll to top of UITableView by tapping status bar

Hi,

This is really a small thing but very important if you see by the perspective of good UI. Just like an apple native apps when you tap on status bar it will load zero'th index of tableview or we can say scroll to top.

It's just a sing line of code :

TableViewObj.scrollsToTop=YES;

Happy Coding :)

Monday, July 9, 2012

iPhone vs Android Phones

    Many time i come across situation that while interview of iPhone or Android development interviewer will ask question like Tell me 5 differences between these two and every candidate will get hang on this question. Today morning i read one description of one job post where they directly mention that " You must know 10 differences between iPhone and Android".

Just to help my all job seeker friends i am writing this blog post.



1) Closed systems vs. open systems

iOS is developed by apple, and is a closed source mobile offshoot, based on the Mac operating system, optimized for a mobile device

Android is an open source Linux based operating system developed by Google, optimized for mobile devices


2) Security

iPhone has More security. You can blindly rely on iPhone for your data security and other factors.

Android has less security than iPhone

3) User Control

iPhone has better user interface and UI is really easy to use.

Android UI is also good but not that much appealing

4) Vendor Lock-in

iPhone comes up with vendor lockin like AT&T or verizon. Now a days they are allowing unlocked phone but cost is too high.
You can use android phone with any carriers.(ie Open to carriers)

5) Battery Life

iPhone is having better battery life but battery is not replaceable.

Now a days few android phones are also having good battery life but not that much of iPhone but you can replace battery.

6) Memory

iPhone comes up with inbuilt memory device. (8GB,16GB,32GB,64GB)

In android phone mostly we use SD-cards which is main root cause to data leakage and virus infection.


7) Google Integration

iPhone is having limited Google integration. In ios6 they have moves Google Maps too.

Android is having all Google product integrated in phone right from Google maps to Google voice.


8) Hardware support

Apple controls all of its hardware, and it is therefore simple to perform the necessary accessory maintenance.

Google’s Android is simply a platform that functions on different platforms, and doesn’t allow for easy accessory support.

9) Cost

iPhone is more expensive than other smartphones in the market except you are purchasing it on contract.

In Android phone you are having lot of varieties available in different price range.

10) Phone Screen Size and Quality

The iPhone 4S has the superior display right now in terms of detail and brightness.

Android phone just come up with a larger screen but not that much quality.

11) Device Camera

The iPhone 4S has the best camera we’ve used yet.

Android phones camera is not that much effective but give you more control of your images—before and after the shot.


12) Developer support

Apple having really state-of-art development tools with proper documentation which will ease life of apple developer. Only thing is that they are having limited access to the resources or we can say device.

Tools available for android is also good but not that much appealing when we compare it with Apple tools.

13) App Market Policy

Apple is having very strict app approval policy, many time it will take a week or two to review and approve the App on app-store which will maintain quality of app.

Google market approval process is not that much strict and app will get approved within 2-3 days.










If you guys want to add more into this please add it in comment.