Common Mistakes happens In iOS Development

Page 1

Common Mistakes happens In iOS Development

Tips for ios Application Developer


Testing only on the simulator, not on other Device iOS simulator has much more performance than a real device, so that the simulator is not the perfect choice to test the performance of your app


Not caring about memory usage Take care of memory usage of your app. You can do this either in instruments or in the “debug navigator� tab in Xcode


Force Unwrapping Optionals Non-optional values have to have a value and must not become nil. So if you want a value to have the possibility to become nil, you have to declare the value as an optional


Not staying up-to-date iOS development is changing very quickly. Every year the platform has new inventions and that is of course reflected in the development tools as well. So there is no point where an iOS developer knows enough


Not staying up-to-date iOS development is changing very quickly. Every year the platform has new inventions and that is of course reflected in the development tools as well. So there is no point where an iOS developer knows enough


Wrong reuse Of UITableViewCell UITableView cell recycling pitfall. & it is a very important component that is used in almost every iOS app. It also has very good performance.


Forcing login via Facebook or Twitter Don’t force people to login without including the option for a standard registration via email. You’re going to anger a lot of people if you force social logins


Creating inflexible code Must ensure that the code base isn’t complete garbage. It shouldn’t be looking at a prototype 6 months from now.


Error handling & interaction with user when failure conditions are hit Confusing errors do not make for a great user experience. For example, it doesn’t help the customer if they need to update their Twitter password, but you display an error


www.brainvire.com Email : info@brainvire.com Call Us : +1 631-897-7276 http://www.brainvire.com/ios-development


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.