iPad Enterprise Application Development BluePrints Design and build your own enterprise applications for the iPad Steven F Daniel BIRMINGHAM - MUMBAI This material is copyright and is licensed for the sole use by on 7th October 2012 iPad Enterprise Application Development BluePrints Copyright © 2012 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: September 2012 Production Reference: 1150912 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-84968-294-7 www.packtpub.com Cover Image by Dean Morel ([email protected]) This material is copyright and is licensed for the sole use by on 7th October 2012 Credits Author Project Coordinator Steven F Daniel Yashodhan Dere Reviewers Proofreader Cory Bohon Mario Cecere Gareth Curtis Maria Gould Clifford Sharp Aaron Nash Luciano Tolfo Indexer Hemangini Bari Acquisition Editor Rukshana Khambatta Graphics Aditi Gajjar Lead Technical Editor Arun Nadar Production Coordinator Melwyn Dsa Technical Editor Lubna Shaikh Cover Work Melwyn Dsa This material is copyright and is licensed for the sole use by on 7th October 2012 This material is copyright and is licensed for the sole use by on 7th October 2012 Foreword With the world changing and technology evolving year on year, businesses are constantly growing more dependent on technology at an ever-expanding rate. With the iPad, the clear cut winner in the tablet market, businesses are making use of the new devices from Apple in their own workflows. The iPad dramatically changes how companies can interact with their data—whether accessing or collecting data in the field or in the office. This growing market is lending itself to more useful enterprise applications that can be used to drive businesses into the future. Unfortunately, many companies don't know where to begin when developing their own custom applications for their own use. That's where this book comes in. This book holds your hand and guides you through the building of practical example applications in each chapter. In each chapter, you will learn various frameworks and technologies in iOS, to create stunning applications that take advantage of the iPad features. The features and techniques that you learn in this book can directly be taken and used in your own iPad enterprise application development. -Cory Bohon This material is copyright and is licensed for the sole use by on 7th October 2012 About the Author Steven F Daniel is originally from London, England, but lives in Australia. He is the owner and founder of GENIESOFT STUDIOS (http://www. geniesoftstudios.com/), a software development company based in Melbourne, Victoria that currently develops games and business applications for the iOS, Android, and Windows platforms. Steven is an experienced software developer with more than 13 years of experience in developing desktop and web-based applications for a number of companies, including insurance, banking and finance, oil and gas, and local and state government. Steven is always interested in emerging technologies, and is a member of the SQL Server Special Interest Group (SQLSIG) and Java Community. He was the co-founder and Chief Technology Officer (CTO) of SoftMpire Pty Ltd., a company that focuses primarily on developing business applications for the iOS and Android platforms. He is the author of Xcode 4 iOS Development Beginner's Guide and iOS 5 Essentials. You can check out his blog at http://geniesoftstudios.com/blog/, or follow him on Twitter at http://twitter.com/GenieSoftStudio. This material is copyright and is licensed for the sole use by on 7th October 2012 Acknowledgement No book is the product of just the author—he just happens to be the one with his name on the cover. A number of people contributed to the success of this book, and it would take more space than I have to thank each one individually. A special shout-out goes to Amey Kanse, my Acquisition Editor, who is the reason that this book exists. Thank you Amey for believing in me and for being a wonderful guide throughout this process. I would like to thank Yashodhan Dere for ensuring that I stayed on track and got my chapters in on time, and to Rukhsana Khambatta for taking over as the Acquisition Editor for this book so quickly and brilliantly, during Amey's departure. I would also like to thank my Lead Technical editor, Arun Nadar, for his brilliant suggestions on how to improve the chapters, and a special thanks to Lubna Shaikh for the fantastic job she has done on this book, ensuring that we met our timeframes and delivery for this book. It has been a great privilege to work with her again on this book. Lastly, to my reviewers, thank you so much for your valued suggestions and improvements, making this book what it is. I am grateful to each and every one of you. Thank you also to the entire Packt Publishing team for working so diligently to help bring out a high quality product. Finally, a big thank you to the engineers at Apple for creating the iPad, and providing developers with the tools to create fun and sophisticated applications. You guys rock. Finally, I'd like to thank all of my friends for their support, understanding, and encouragement during the writing process. It is a privilege to know each and every one of you. This material is copyright and is licensed for the sole use by on 7th October 2012 About the Reviewers Cory Bohon is a professional writer and contributor to MacLife Magazine, and a Mac and iPhone developer, experienced in Java, C/C++, Objective-C, and PHP. He is currently working on a Masters degree in Software Engineering, where his current research interests includes accessible user interface design and mobile application development. Gareth Curtis was learning to program for the BBC Master computer when he was 10 years old. A career in I.T. was always on the cards and this began in a corporate finance environment. It wasn't until late 2008 when the first iPhone SDK was released by Apple that he really took an interest in development. A few months later, he achieved one of his ambitions in the forming of his own company, Appfidelity Ltd. Appfidelity has since successfully been developing apps for the iPhone, and later the iPad, for a wide variety of clients including apps for sports, finance, fashion, and entertainment. More recently, Gareth has also entered into the realms of iBook publication. Clifford Sharp has been in the computer industry for over 30 years. In the first 15 years, he performed network and systems administration using VAX/VMS and DECnet then Linux and TCP/IP. In the next 10 years, he designed and created Linux system programs as well as database front-end software using C and Pro*C with Oracle. The last 5 years have been all about iOS Architecture and Development, where he has created iOS apps for AT&T, Network Solutions, DirecTV, Experian, among others. This material is copyright and is licensed for the sole use by on 7th October 2012 Luciano Tolfo is a creative and proactive software engineer with more than five years of experience, currently specialized in iOS applications and game development, who loves what he does and enjoys facing new challenges. His background is in the game industry, and he is now working as a full-time freelance mobile developer. I would like to thank my family and girlfriend for their unconditional support and their patience while I work long hours and for the time I spent reviewing this book. This was the first time I made a technical review for a book and I really enjoyed the process, and I would like to contribute with my feedback on further iOS development books. You can see my Linked-In profile at http://www.linkedin.com/in/lucianotolfo. This material is copyright and is licensed for the sole use by on 7th October 2012