Developing Enterprise iOS Applications
James Turner
Copyright 2011 James Turner
OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (.
Nutshell Handbook, the Nutshell Handbook logo, and the OReilly logo are registered trademarks of OReilly Media, Inc. Developing Enterprise iOS Applications , the image of a white wagtail, and related trade dress are trademarks of OReilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and OReilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
O'Reilly Media
Preface
Hello, and welcome to the exciting, frustrating, confusing, complexand ultimately rewardingworld of Enterprise iOS development. This book attempts to distill the lessons learned from more than a year of on-the-ground experience, moving an Enterprise iOS application from first concept to shipping product. Hopefully, I can help you avoid some of the hidden coral reefs that lie beneath the Sea of Apple, and help you find the fair winds to keep your sails full.
The relationship between businesses and Apple has always been a complex one, partially due to Microsofts traditional death-grip on the corporate market, and Apples sometimes ambivalent attitude toward corporate users. iOS has done a lot to change this, as it brought many new Apple users in through the mobile back door. The reality is that iOS is something to be taken seriously by corporate IT departments, and the old Blackberry or Bust mentality is all but dead. This presents a huge opportunity for developers versed in both the Apple and Fortune 500 philosophies.
Who This Book Is For
First things first: if youve never touched Objective-C or Cocoa before, you need to backfill some knowledge before you jump into Enterprise iOS. There are any number of good books out there to get you started with the basic Apple development tools such as Xcode. One good place to start is Learning iPhone Programming by Alasdair Allan, also published by OReilly. Apple also provides a number of good resources to members of their developer community.
Im also going to make the assumption in this book that you, the reader, are familiar with the ins and outs of Enterprise software development, including concepts such as SOAP, XML, REST, source control, continuous integration and regression, unit testing and code coverage, etc.
So, in short, this book is aimed at someone who expects to be (or already is) developing iOS software for use in Enterprise environments, and needs to know how to make the Apple development and deployment universe work smoothly with the requirements of corporate software methodologies. But many of the techniques laid out in this book may prove useful to you, even if you arent in a large company or trying to sell applications to Enterprise customers.
How This Book Is Organized
To get you on your way, well start with a basic overview of the challenges that face Enterprise developers working with iOS. We will then, in turn, address each one of this issues, starting with collaborative development problems, and finishing up with long term support issues for Enterprise apps.
Along the way, well look at a number of the more important topics you may run into, including testing and distributing apps, integrating apps with backend systems, and a handy check-list of things you need to remember to think about as the ship date for your app approaches.
Each chapter stands more or less alone, so if you only want to see how to call a SOAP service from an iPhone app, you can jump right to that chapter without having to wade through all the other stuff.
Conventions Used in This Book
The following typographical conventions are used in this book:
Italic
Indicates new terms, URLs, email addresses, filenames, and file extensions.
Constant width
Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.
Constant width bold
Shows commands or other text that should be typed literally by the user.
Constant width italic
Shows text that should be replaced with user-supplied values or by values determined by context.
Tip
This icon signifies a tip, suggestion, or general note.
Caution
This icon indicates a warning or caution.
Using Code Examples
This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.
We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: Developing Enterprise iOS Applications by James Turner (OReilly). Copyright 2012 James Turner, 978-1-4493-1148-3.
If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at .
Safari Books Online
Note
Safari Books Online is an on-demand digital library that lets you easily search over 7,500 technology and creative reference books and videos to find the answers you need quickly.
With a subscription, you can read any page and watch any video from our library online. Read books on your cell phone and mobile devices. Access new titles before they are available for print, and get exclusive access to manuscripts in development and post feedback for the authors. Copy and paste code samples, organize your favorites, download chapters, bookmark key sections, create notes, print out pages, and benefit from tons of other time-saving features.
OReilly Media has uploaded this book to the Safari Books Online service. To have full digital access to this book and others on similar topics from OReilly and other publishers, sign up for free at http://my.safaribooksonline.com.
How to Contact Us
Please address comments and questions concerning this book to the publisher:
OReilly Media, Inc. |
1005 Gravenstein Highway North |
Sebastopol, CA 95472 |
800-998-9938 (in the United States or Canada) |
707-829-0515 (international or local) |
707-829-0104 (fax) |
We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at: