oreilly programming ios 5, fundamentals of iphone ipad ipod touch development 2nd (2012)

1K 11.1K 0
oreilly programming ios 5, fundamentals of iphone ipad ipod touch development 2nd (2012)

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... relationship of the second edition of this book with the first edition, it will help if I first recap the recent history of iOS and Xcode versions At the time I started writing the first edition this book, system versions 3.1.3 (on the iPhone) and 3.2 (on the iPad) were current As I was working on the book, iOS 4 and the iPhone 4 came into being, but iOS 4 didn’t yet run on the iPad Subsequently iOS 4.2... chief purpose of this new edition, then, is to bring the book up to date for iOS 5 You, the reader, might be coming to iOS programming for the first time, so this edition assumes no prior knowledge of iOS 4 or any previous version On the other hand, you, like me, could be making the transition from iOS 4 to iOS 5, so this edition lays some special emphasis on features that are new in iOS 5 This emphasis... or specification of things you are allowed to say when communicating.) Therefore, you will need some knowledge of the C programming language, for two reasons: • Most of the iOS API involves the Objective-C language, and most of your iOS programming will be in the Objective-C language; and Objective-C is a superset of C This means that Objective-C presupposes C; everything that is true of C trickles up... they are so happily cavorting It is this state of affairs that has motivated me to write this book, which is intended to ground the reader in the fundamentals of iOS I love Cocoa and have long wished to write about it, but it is iOS and its popularity that has given me a proximate excuse to do so Indeed, my working title was Fundamentals of Cocoa Touch Programming. ” Here I have attempted to marshal... iOS 5 This emphasis could also be useful to new iOS programmers who are thinking of writing apps that can also run under iOS 4 My goal, however, is not to burden the reader with outdated information The vast majority of devices that could run iOS 4 have probably been updated to iOS 5, and you will probably be right in assuming that there will plenty of iOS 5 users out there, without your having to bother... describing the development process However, for iOS programming, I recommend adoption of Xcode 4, and the first edition of this book assumed that the reader had adopted it xxii | Preface Such was the situation in May 2011, when the first edition was formally released, describing how to program iOS 4 Less than five months later, in October 2011, Apple released iOS 5 Some of the features that are new in iOS 5... on both the iPhone and the iPad At the same time, Xcode was improved up to 3.2.5 iOS 4 was the first version of the system to support multitasking, which necessitated much scurrying about on the part of developers, to adapt their apps to the new world order Just in time for my final revisions of the first edition, Xcode 3.2.6 and iOS 4.3 were released, along with the first public version of the long-awaited... 451 454 455 18 Touches 463 Touch Events and Views Receiving Touches Restricting Touches Interpreting Touches Gesture Recognizers Gesture Recognizer Classes 464 466 467 468 473 473 Table of Contents | ix Multiple Gesture Recognizers Subclassing Gesture Recognizers Gesture Recognizer Delegate Touch Delivery Hit-Testing Initial Touch Event Delivery... to those who need this type of book People who prefer some other type of book should get some other type of book, and not mar my book’s web page by criticizing it for not being what it was never intended to be The purpose of this book is to proceed by focusing on the underlying knowledge needed for an actual understanding of iOS programming That is precisely the opposite of a cookbook This book has... fact which has necessitated a full revision of this book At the same time, Apple also released Xcode 4.2, and this book assumes that you are using that version of Xcode (or later), since it is the earliest version of Xcode on which iOS 5 development is officially possible (It may be that, by deep trickery, one can develop for iOS 5 using an earlier version of Xcode, but that would constitute unsupported . on which sound iOS programming rests, including a good basic knowledge of Objective-C (start- ing with C itself) and the nature of object-oriented programming, advice on the use of the tools,. trademarks of O’Reilly Media, Inc. Programming iOS 5, the image of a kingbird, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and. popularity of the iPhone, with its largely free or very inexpensive apps, and the subsequent popularity of the iPad, have brought and will continue to bring into the fold many new programmers who see programming

Ngày đăng: 24/04/2014, 10:01

Từ khóa liên quan

Mục lục

  • Table of Contents

  • Preface

    • Conventions Used in This Book

    • Using Code Examples

    • Safari® Books Online

    • How to Contact Us

    • Acknowledgments for the First Edition

    • Notes on the Second Printing

    • Acknowledgments for the Second Edition

    • Notes on the Second Edition

    • Part I. Language

      • Chapter 1. Just Enough C

        • Compilation, Statements, and Comments

        • Variable Declaration, Initialization, and Data Types

        • Structs

        • Pointers

        • Arrays

        • Operators

        • Flow Control and Conditions

        • Functions

        • Pointer Parameters and the Address Operator

        • Files

        • The Standard Library

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan