Beginning Ipad Application Development - Lee Wei–Meng | Libro John Wiley & Sons 05/2010 -

home libri books ebook dvd e film top ten sconti 0 Carrello

Torna Indietro

lee wei–meng - beginning ipad application development

Beginning iPad Application Development

4 stelle su 5 1 recensioni presenti

Disponibilità: Non disponibile o esaurito presso l'editore

29,20 €

Questo prodotto usufruisce delle SPEDIZIONI GRATIS
selezionando l'opzione Corriere Veloce in fase di ordine.

Pagabile anche con App18 Bonus Cultura e Carta Docenti

Facebook Twitter Aggiungi commento

Spese Gratis


Lingua: Inglese
Pubblicazione: 05/2010

Note Editore

Learn to develop successful and profitable iPad applications

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 first familiarize yourself with the iPhone® SDK, Xcode®, and Interface Builder tools, all of which provide a solid foundation for developing apps. You'll then explore the features and syntax of the Objective–C® 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:

  • Explains the various types of iPad applications supported by the iPhone SDK

  • Discusses the various types of screen orientations and ways to handle rotations

  • Covers the new Gesture Recognizers available in this release of the iPhone SDK

  • Covers the new Split View–based Application project type

  • Zeroes in on database storage using SQLite3

  • Examines Web Services, Bluetooth programming, and Bonjour programming

  • Covers Apple Push Notification Services programming 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.

Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.


Introduction xxv

Part I: Getting started

Chapter 1: Getting Started with iPad Programming 3

Obtaining the iPhone SDK 4

Components of the iPhone SDK 6

Architecture of the iPhone OS 14

Some Useful Information Before You Get Started 17

Summary 20

Chapter 2: Write Your First Hello World! Application 23

Getting Started with Xcode 23

Customizing Your Application Icon 38

Summary 42

Chapter 3: Views, Outlets, and Actions 45

Outlets and Actions 45

Using Views 52

Adding Views Dynamically Using Code 68

Understanding View Hierarchy 71

Summary 73

Chapter 4: View Controllers 77

The View–based Application Template 78

The Window–based Application Template 89

The Split View–based Application Template 108

The Tab Bar Application Template 129

Summary 138

Chapter 5: Keyboard Inputs 141

Using the Keyboard 142

Customizing the Type of Inputs 144

Detecting the Presence of the Keyboard 153

Summary 165

Chapter 6: Screen Rotations 167

Responding to Device Rotations 167

Programmatically Rotating the Screen 179

Summary 180

Chapter 7: Using the Table View 185

A Simple Table View 186

Summary 230

Chapter 8: Application Preferences 233

Creating Application Preferences 233

Programmatically Accessing the Settings Values 242

Summary 251

Chapter 9: File Handling 253

Understanding the Application Folders 254

Using Property Lists 259

Copying Bundled Resources 265

Summary 267

Chapter 10: Database Storage Using SQLite3 269

Using SQLite3 270

Creating and Opening a Database 272

Bundling SQLite Databases with Your Application 281

Summary 282

Part III : Advanced iPad Programming Techniques

Chapter 11: Simple Animations 287

Using the NSTimer Class 287

Transforming Views 295

Animating a Series of Images 300

Summary 303

Chapter 12: Recognizing Gestures 305

Recognizing Gestures 305

Detecting Touches 328

Summary 346

Chapter 13: Accessing the Accelerometer 349

Using the Accelerometer 349

Using Shake API to Detect Shakes 354

Summary 361

Part IV: Network programming techniques

Chapter 14: Web Services 365

Basics of Consuming XML Web Services 366

Consuming a Web Service in Your iPad Application 370

Parsing the XML Response 378

Summary 383

Chapter 15: Bluetooth Programming 385

Using the Game Kit Framework 385

Implementing Voice Chatting 395

Summary 402

Chapter 16: Bonjour Programming 405

Creating the Application 405

Publishing a Service 408

Browsing for Services 410

Summary 416

Chapter 17: Apple Push Notification Services 419

Generating a Certificate Request 420

Generating a Development Certificate 422

Creating an App ID 425

Creating the iPad Application 432

Creating the Push Notification Provider 436

Summary 439

Chapter 18: Displaying Maps 441

Displaying Maps and Monitoring Changes using the Map Kit 441

Getting Location Data 447

Displaying Disclosure Button 476

Summary 479

Appendix A: Answers to Exercises 483

Appendix B: Getting Around in Xc ode 495

Launching Xcode 495

Debugging Your Applications 501

Appendix C: Getting Around in Interface Builder 507

.xib Window 507

Designing the View 508

Inspector Window 510

Library 512

Outlets and Actions 512

Appendix D: Crash Course in Objective–C 519

Directives 519

Classes 520

Memory Management 532

Protocols 539

Index 545


A hands-on approach to iPad application development

Beginning iPad Application Development is written to help jumpstart beginning iPad developers. It covers the various topics in such a manner that you will progressively learn without being overwhelmed by the details. It adopts the philosophy that the best way to learn is by doing, hence the numerous Try It Out sections in all the chapters, which first show you how to build something and then explain how things work.

Although iPad programming is a huge topic, the aim for this book is to get you started with the fundamentals, and help you understand the underlying architecture of the SDK, and appreciate why things are done certain ways. After reading this book (and doing the exercises), you will be well equipped to tackle your next iPad programming challenge.

This book is for the beginning iPad developer who wants to start developing iPad applications using the Apple iPhone SDK. To truly benefit from this book, you should have some background in programming and at least be familiar with object-oriented programming concepts. If you are totally new to the Objective-C language, you might want to jump straight to Appendix D, which provides an overview of the language. Alternatively, you can use Appendix D as a quick reference while you tackle the various chapters, checking out the syntax as you try the exercises. Depending on your learning pattern, one of those approaches may work best for you.

What This Book Covers

This book covers the fundamentals of iPad programming using the iPhone SDK. It is divided into 18 chapters and four appendices.

Chapter 1: Getting Started with iPad Programming covers the various tools found in the iPhone SDK and explains their uses in iPad development.

Chapter 2: Write Your First Hello World! Application gets you started with Xcode and Interface Builder to build a Hello World application. The focus is on getting your hands dirty. More details on the various parts and components are covered in subsequent chapters.

Chapter 3: Views, Outlets, and Actions covers the fundamental concepts of iPad programming: outlets and actions. You learn how outlets and actions allow your code to interact with the visual elements in Interface Builder and why they are an integral part of every iPad application. You will also learn about the various UI widgets known as views that make up the user interface of your iPad application.

Chapter 4: View Controllers discusses the various view controllers available in the iPhone SDK. You will learn how to develop different types of iPad applications - View-based, Window-based, Split View-based, as well as Tab Bar applications.

Chapter 5: Keyboard Inputs shows you how to deal with the virtual keyboard in your iPad. You see how to hide the keyboard on demand and how to ensure that your views are not blocked by the keyboard when it is displayed.

Chapter 6: Screen Rotations demonstrates how you can reorient your application's UI when the device is rotated. You learn about the various events that are fired when the device is rotated. You also learn how to force your application to display in a certain orientation.

Chapter 7: Using the Table View explores one of the most powerful views in the iPhone SDK - the Table view. The Table view is commonly used to display rows of data. In this chapter, you also learn how to implement search capabilities in your Table view.

Chapter 8: Application Preferences discusses the use of application settings to persist application preferences. Using application settings, you can access preferences related to your application through the Settings application available on the iPad.

Chapter 9: File Handling shows how you can persist your application data by saving the data to files in your application's sandbox directory. You also learn how to access the various folders available in your application sandbox.

Chapter 10: Database Storage Using SQLLite3 covers the use of the embedded SQLite3 database library to store your data.

Chapter 11: Simple Animations provides an overview of the various techniques you can use to implement simple animations on the iPad. You also learn about the various affine transformations supported by the iPhone SDK.

Chapter 12: Gesture Recognizers provides an overview of the various gesture recognizers available in the iPhone SDK to help your device interpret user's input gestures.

Chapter 13: Accessing the Accelerometer shows how you can access the accelerometer that comes with every iPad. You will also learn how to detect shakes to your device.

Chapter 14: Web Services teaches you how to consume Web services from within your iPad application. You will learn the various ways to communicate with Web services - SOAP, HTTP GET, and HTTP POST. You will also learn how to parse the returning XML result returned by the Web service.

Chapter 15: Bluetooth Programming explores the use of the Game Kit framework for Bluetooth programming. You will learn how to get two iPads to communicate using a Bluetooth connection. You will also learn how to implement voice chatting over a Bluetooth connection.

Chapter 16: Bonjour Programming shows how you can publish services on the network using the Bonjour protocol.

Chapter 17: Apple Push Notification Services explains how you can implement applications that use push notifications. The APNs allows your applications to constantly receive status updates from a service provider even though the application may not be running.

Chapter 18: Displaying Maps shows how to build location-based services application using the Map Kit framework. You will also learn how to obtain geographical locations data and use them to display a map.

Appendix A: Answers to Exercises contains the solutions to the end-of-chapter exercises found in every chapter except Chapter 1.

Appendix B: Getting Around in Xcode provides a quick run-through of the many features in Xcode.

Appendix C: Getting Around in Interface Builder provides an overview of the many features of Interface Builder.

Appendix D: Crash Course in Objective-C provides a crash course in Objective-C. Readers who are new to this language should read this chapter before getting started.


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.

Altre Informazioni



Condizione: Nuovo
Collana: Wrox - Programmer to Programmer
Dimensioni: 233 x 29.14 x 188 mm Ø 1018 gr
Formato: Brossura
Pagine Arabe: 600

I vostri commenti al Libro

1 recensioni presenti.

08/12/2010 Di Cristiano.cuttica
4 stelle su 5

Acquistato a luglio, e' un ottimo libro per iniziare a programmare con iPad, ben strutturato affronta diversi temi dalla grafica ai Database.

Utilizziamo i cookie di profilazione, anche di terze parti, per migliorare la navigazione, per fornire servizi e proporti pubblicità in linea con le tue preferenze. Se vuoi saperne di più o negare il consenso a tutti o ad alcuni cookie clicca qui. Chiudendo questo banner o proseguendo nella navigazione acconsenti all’uso dei cookie.