Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Beginning iOS5 Development.pdf
Скачиваний:
7
Добавлен:
09.05.2015
Размер:
15.6 Mб
Скачать

About the Authors

Dave Mark is a longtime Mac developer and author, who has written a number of books on Mac and iOS development, including Beginning iPhone 4 Development (Apress, 2011), More iPhone 3 Development (Apress, 2010), Learn C on the Mac (Apress, 2008), Ultimate Mac Programming (Wiley, 1995), and

The Macintosh Programming Primer series (Addison-Wesley, 1992). Dave was one of the founders of MartianCraft, an iOS and Android development house. Dave loves the water and spends as much time as possible on it, in it, or near it. He lives with his wife and three children in Virginia.

Jack Nutting has been using Cocoa since the olden days, long before it was even called Cocoa. He has used Cocoa and its predecessors to develop software for a wide range of industries and applications, including gaming, graphic design, online digital distribution, telecommunications, finance, publishing, and travel. When he is not working on Mac or iOS projects, he is developing web applications with Ruby on Rails. Jack is a passionate proponent of Objective-C and the Cocoa frameworks. At the drop of a hat, he will speak at length on the virtues of dynamic dispatch and runtime class manipulations to anyone who will listen (and even to some who won’t). Jack has written several books on iOS and Mac development, including Beginning iPhone 4

Development (Apress, 2011), Learn Cocoa on the Mac (Apress, 2010), and Beginning iPad Development for iPhone Developers (Apress, 2010). He blogs from time to time at www.nuthole.com.

Jeff LaMarche is a Mac and iOS developer with more than 20 years of programming experience. Jeff has written a number of iOS and Mac development books, including Beginning iPhone 4 Development (Apress, 2011),

More iPhone 3 Development (Apress, 2010), and Learn Cocoa on the Mac

(Apress, 2010). Jeff is a principal at MartianCraft, an iOS and Android development house. He has written about Cocoa and Objective-C for MacTech Magazine, as well as articles for Apple’s developer web site. Jeff also writes about iOS development for his widely read blog at www.iphonedevelopment.blogspot.com.

xiv

www.it-ebooks.info

About the Technical Reviewer

Mark Dalrymple is a longtime Mac and Unix programmer, working on crossplatform tool kits, Internet publishing tools, high-performance web servers, and end-user desktop applications. He is also the principal author of Learn Objective-C on the Mac (Apress, 2009) and Advanced Mac OS X Programming

(Big Nerd Ranch, 2005). In his spare time, Mark plays trombone and bassoon, and makes balloon animals.

xv

www.it-ebooks.info

Acknowledgments

This book could not have been written without our mighty, kind, and clever families, friends, and cohorts. First and foremost, eternal thanks to Terry, Weronica, and Deneen for putting up with us, and for keeping the rest of the universe at bay while we toiled away on this book. This project saw us tucked away in our writers’ cubby for many long hours, and somehow, you didn’t complain once. We are lucky men.

This book could not have been written without the fine folks at Apress. Clay Andres brought us to Apress in the first place and carried the first few iterations of this book on his back. Dominic Shakeshaft and Steve Anglin were the gracious masterminds who dealt with all of our complaints with a smile on their faces, and somehow found solutions that made sense and made this book better. Kelly Moritz, our wonderful and gracious coordinating editor, was the irresistible force to our slowly movable object. Tom Welsh, our developmental editor, helped us with some terrific feedback along the way. They kept the book on the right track and always pointed in the right direction. Marilyn Smith, copy editor extraordinaire, you were such a pleasure to work with! Jeffrey Pepper, Frank McGuckin, Brigid Duffy, and the Apress production team took all these pieces and somehow made them whole. Dylan Wooters assembled the marketing message and got it out to the world. To all the folks at Apress, thank you, thank you, thank you!

A very special shout-out to our incredibly talented technical reviewer, Mark Dalrymple. In addition to providing insightful feedback, Mark tested all the code in this book and helped keep us on the straight and narrow. Thanks, Mark!

Finally, thanks to our children for their patience while their dads were working so hard. This book is for you, Maddie, Gwynnie, Ian, Kai, Henrietta, Dorotea, Daniel, Kelley, and Ryan.

xvi

www.it-ebooks.info

Preface

Hard as it is for us to believe, you now hold in your hands (or see on your screen) the fourth edition of this book. In the years since we set out on this journey, we’ve poured more blood, sweat, and tears than we ever imagined into this book, in an attempt to give developers the best introduction to the fantastic and sometimes surprising world of Cocoa Touch development. We’ve also had a lot of fun along the way, and we hope that you will, too.

This edition of the book has been rebuilt from the ground up to cover the exciting new changes Xcode 4 brings to the table. Apple reengineered huge portions of Xcode when transitioning from Xcode 3 to Xcode 4, and again as it moved to the current version (as of this writing), Xcode 4.2. We’ve followed suit. Every project in the book has been written from scratch using the amazing technology built into Xcode 4.2.

And, of course, as the title of this new edition implies, each and every project was designed to work properly under iOS 5. The iOS SDK has evolved significantly with this latest iOS release. As you might expect, there are many new changes to the project templates and a lot of new ways to do the things you’ve always done. And, of course, there’s a lot of new technology to master. We’ve written entirely new chapters on using both storyboards and iCloud, we’ve covered new strategies for dealing with table views, and we’ve re-created every example project using the Automatic Reference Counting (ARC) feature to simplify memory management.

In short, we’ve made this latest edition the biggest, most substantial version of the book so far. Whether you’re new to iOS development or have been working with it for a while, we think you’ll like the new material covered by this volume. If you haven’t made it through a previous edition of this book yet, if you feel a bit fuzzy still, or if you just want to help us out as authors, by all means, pick up this fourth edition. We do appreciate your support. Be sure to check out the book’s official community forum at http://iphonedevbook.com, and drop us a line to let us know about your amazing new apps. We look forward to seeing you on the forum. Happy coding!

Dave, Jack, and Jeff

xvii

www.it-ebooks.info

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]