Beginning iPad Application Development: the iPhone SDK handle rotations of the iPhone SDK • Covers the new Split View-based Application project type programming • Covers Apple Push Not
Trang 1Application Development
Join the discussion @ p2p.wrox.com
Lee
Eager to start developing applications for the iPad? Then look no
further than the book in your hands This comprehensive, hands-on
approach to iPad development walks you through all the necessary
tools and skills required for successful iPad app programming You’ll
Builder tools, all of which provide a solid foundation for developing
language, which is essential for creating most iPad apps Plus, you’ll
discover how to best implement the many features of the iPhone
SDK into your apps so that you can deploy your applications to
the Apple AppStore.
Beginning iPad Application Development:
the iPhone SDK
handle rotations
of the iPhone SDK
• Covers the new Split View-based Application project type
programming
• Covers Apple Push Notification Services programming
Wei-Meng Lee is a technologist and founder of Developer Learning Solutions, a
technology company specializing in hands-on training in the latest Microsoft and
Apple technologies He is also the author of Beginning iPhone SDK Programming
with Objective-C and writes frequently for online publications.
Wrox Beginning guides are crafted to make learning programming languages
Learn to develop successful—
and profitable—iPad applications
wrox.com
Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world
Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use
Read More
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter
to you
Trang 2641651ffirs.indd 4 4/12/10 4:23:53 PM
Trang 3Related Wrox Books
Beginning iPhone SDK Programming with Objective-C
ISBN: 978-0-470-50097-2 This information-packed book presents a complete introduction to the iPhone SDK and the Xcode tools, as well as the Objective-C language that is necessary to create native iPhone applications Solid coverage and real-world examples walk you through the process for developing mobile applications for the iPhone that can then be distributed through Apple’s iTunes Application store
Beginning Mac OS X Snow Leopard Programming
ISBN: 978-0-470-57752-3 This book serves as a solid guide to getting started with Mac OS X programming You will learn how to use the free software development tools that come with all Mac OS X systems to efficiently start writing programs on Mac OS X Snow Leopard The author shows you how to use all of the programming languages together in order to create seamless applications
Professional Android 2 Application Development
ISBN: 978-0-470-56552-0 Written by an Android authority, this resource shows you how to leverage the features of Android 2 to enhance existing products
or create innovative new ones The author walks you through a series of sample projects that introduces you to Android’s new features and techniques
Professional Xcode 3
ISBN: 978-0-470-52522-7 The steady increase in sales of Apple computers has triggered a strong interest in gaining a thorough understanding of Xcode and its tools and what they have to offer This book provides you with an inside look at the array of Xcode tools from top to bottom You’ll go beyond the basics and dive into such in-depth topics as installing the latest version of Xcode tools, customizing the look and behavior of Xcode, creating and managing projects, using the built-in class browser to model complex applications and structures, and more With this book, you’ll be able to take full advantage of the range of tools included with Xcode
Safari and WebKit Development for iPhone OS 3.0
ISBN: 978-0-470-54966-7 With the unparalleled success of iPhone and iPod touch, iPhone OS 3.0 has emerged as a compelling platform for which vast numbers of web developers are designing and building web-based mobile applications This book explores the Safari and WebKit development platform that is built into iPhone OS 3.0 and takes you through the process of creating an iPhone web application from the ground up You’ll learn how to use existing open source frameworks to speed up your development time, imitate qualities
of built-in Apple apps, cache data locally and even run in offline mode, and more Whether you’re eager to build new web applications for iPhone OS 3.0 or optimize existing web sites for this platform, you have everything you need to do so within this book
Get more out of
wrox.com
Interact
Take an active role online by participating in our
P2P forums @ p2p.wrox.com
Wrox Online Library
Hundreds of our books are available online
through Books24x7.com
Wrox Blox
Download short informational pieces and code
to keep you up to date and out of trouble!
Join the Community
Sign up for our free monthly newsletter at newsletter.wrox.com
Browse
Ready for more Wrox? We have books and e-books available on NET, SQL Server, Java, XML, Visual Basic, C#/ C++, and much more!
Trang 4Beginning
iPad™ aPPlication develoPment
introduction xxv
Part
Getting Started with iPad Programming
chaPter 1 3
Write Your First Hello World! Application
chaPter 2 23
Views, Outlets, and Actions
chaPter 3 45
View Controllers
chaPter 4 77
Keyboard Inputs
chaPter 5 141
Screen Rotations
chaPter 6 167
Part i
Using the Table View
chaPter 7 185
Application Preferences
chaPter 8 233
File Handling
chaPter 9 253
Database Storage Using SQLite3
chaPter 10 269
Part ii
Simple Animations
chaPter 11 287
Recognizing Gestures
chaPter 12 305
Accessing the Accelerometer
chaPter 13 349
Part i
Web Services
chaPter 14 365
Bluetooth Programming
chaPter 15 385
Bonjour Programming
chaPter 16 405
Apple Push Notification Services
chaPter 17 419
Displaying Maps
chaPter 18 441
Continues
641651ffirs.indd 1 4/12/10 4:23:52 PM
Trang 5Part
Answers to Exercises
aPPendix a 483
Getting Around in Xcode
aPPendix B 495
Getting Around in Interface Builder
aPPendix c 507
Crash Course in Objective-C
aPPendix d 519
index 545
Trang 6Related Wrox Books
Beginning iPhone SDK Programming with Objective-C
ISBN: 978-0-470-50097-2 This information-packed book presents a complete introduction to the iPhone SDK and the Xcode tools, as well as the Objective-C language that is necessary to create native iPhone applications Solid coverage and real-world examples walk you through the process for developing mobile applications for the iPhone that can then be distributed through Apple’s iTunes Application store
Beginning Mac OS X Snow Leopard Programming
ISBN: 978-0-470-57752-3 This book serves as a solid guide to getting started with Mac OS X programming You will learn how to use the free software development tools that come with all Mac OS X systems to efficiently start writing programs on Mac OS X Snow Leopard The author shows you how to use all of the programming languages together in order to create seamless applications
Professional Android 2 Application Development
ISBN: 978-0-470-56552-0 Written by an Android authority, this resource shows you how to leverage the features of Android 2 to enhance existing products
or create innovative new ones The author walks you through a series of sample projects that introduces you to Android’s new features and techniques
Professional Xcode 3
ISBN: 978-0-470-52522-7 The steady increase in sales of Apple computers has triggered a strong interest in gaining a thorough understanding of Xcode and its tools and what they have to offer This book provides you with an inside look at the array of Xcode tools from top to bottom You’ll go beyond the basics and dive into such in-depth topics as installing the latest version of Xcode tools, customizing the look and behavior of Xcode, creating and managing projects, using the built-in class browser to model complex applications and structures, and more With this book, you’ll be able to take full advantage of the range of tools included with Xcode
Safari and WebKit Development for iPhone OS 3.0
ISBN: 978-0-470-54966-7 With the unparalleled success of iPhone and iPod touch, iPhone OS 3.0 has emerged as a compelling platform for which vast numbers of web developers are designing and building web-based mobile applications This book explores the Safari and WebKit development platform that is built into iPhone OS 3.0 and takes you through the process of creating an iPhone web application from the ground up You’ll learn how to use existing open source frameworks to speed up your development time, imitate qualities
of built-in Apple apps, cache data locally and even run in offline mode, and more Whether you’re eager to build new web applications for iPhone OS 3.0 or optimize existing web sites for this platform, you have everything you need to do so within this book
Get more out of
wrox.com
Interact
Take an active role online by participating in our
P2P forums @ p2p.wrox.com
Wrox Online Library
Hundreds of our books are available online
through Books24x7.com
Wrox Blox
Download short informational pieces and code
to keep you up to date and out of trouble!
Join the Community
Sign up for our free monthly newsletter at newsletter.wrox.com
Browse
Ready for more Wrox? We have books and e-books available on NET, SQL Server, Java, XML, Visual Basic, C#/ C++, and much more!
Contact Us
We always like to get feedback from our readers Have a book idea?
Need community support? Let us know by e-mailing wrox-partnerwithus@wrox.comPrepared for SUSAN ROERS/ email0 Susan_Krentz@aol.com Order number0 65259214 This PDF is for the purchaser’s personal use in accordance with the Wrox Terms of
Trang 7Application Development
Join the discussion @ p2p.wrox.com
Lee
Eager to start developing applications for the iPad? Then look no
further than the book in your hands This comprehensive, hands-on
approach to iPad development walks you through all the necessary
tools and skills required for successful iPad app programming You’ll
Builder tools, all of which provide a solid foundation for developing
language, which is essential for creating most iPad apps Plus, you’ll
discover how to best implement the many features of the iPhone
SDK into your apps so that you can deploy your applications to
the Apple AppStore.
Beginning iPad Application Development:
the iPhone SDK
handle rotations
of the iPhone SDK
• Covers the new Split View-based Application project type
programming
• Covers Apple Push Notification Services programming
Wei-Meng Lee is a technologist and founder of Developer Learning Solutions, a
technology company specializing in hands-on training in the latest Microsoft and
Apple technologies He is also the author of Beginning iPhone SDK Programming
with Objective-C and writes frequently for online publications.
Wrox Beginning guides are crafted to make learning programming languages
Learn to develop successful—
and profitable—iPad applications
wrox.com
Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world
Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use
Read More
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter
to you