Programming iOS 4 ppt

834 3.3K 0
Programming iOS 4 ppt

Đ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

[...]... Management 43 7 43 8 44 1 44 3 44 5 44 6 44 7 44 8 45 2 45 3 45 4 45 6 45 7 45 9 46 1 46 2 46 3 46 4 46 6 46 8 47 4 47 6 47 7 20 Scroll Views 48 1 Creating a Scroll View Scrolling Paging Tiling Zooming Zooming Programmatically Zooming with Detail xii | Table of Contents 48 2 48 4 48 7 48 8 49 1 49 3 49 3 Scroll View Delegate Scroll View Touches Scroll View Performance 49 9 500... Gesture Recognizer Delegate Touch Delivery 398 40 0 40 1 40 2 40 8 40 8 41 2 41 6 41 8 41 9 42 2 Table of Contents | xi Hit-Testing Initial Touch Event Delivery Gesture Recognizer and View Touch Exclusion Logic Recognition Touches and the Responder Chain 42 3 42 7 42 7 42 9 43 0 43 1 Part V Interface 19 View Controllers 43 5 Creating a View Controller Manual View Controller,... Image Contents on Demand Contents Resizing and Positioning Layers that Draw Themselves x | Table of Contents 336 337 339 339 340 341 341 341 342 343 345 Transforms Depth Transforms and Key–Value Coding Shadows, Borders, and More Layers and Key–Value Coding 346 350 352 353 3 54 17 Animation 357 Drawing, Animation, and Threading UIImageView Animation... Content in Table Items Inserting Table Items Rearranging Table Items 507 508 512 517 518 521 5 24 526 528 533 533 539 541 543 544 546 22 Popovers and Split Views 549 Presenting a Popover Managing a Popover Dismissing a Popover Automatic Popovers Split Views 550 553 5 54 557 558 23 Text 563 UILabel... in your own fun and rewarding iOS programming future In closing, some version numbers, so that you know what assumptions I am making At the time I started writing this book, system versions 3.1.3 (on the iPhone) and 3.2 (on the iPad) were most recent As I was working on the book, iOS 4 and the iPhone 4 came into being, but it didn’t yet run on the iPad Subsequently iOS 4. 2 emerged: the first system... require permission xx | Preface We appreciate, but do not require, attribution An attribution usually includes the title, author, publisher, and ISBN For example: Programming iOS 4 by Matt Neuburg (O’Reilly) Copyright 2011 Matt Neuburg, 978-1 -44 9-38 843 -0.” If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at permissions@oreilly.com Safari®... C Struct Pointers Properties 249 251 2 54 255 257 260 263 2 64 266 267 269 270 271 13 Data Communication 277 Model–View–Controller Instance Visibility Visibility by Instantiation Visibility by Relationship 277 279 280 281 Table of Contents | ix Global Visibility Notifications Key–Value Observing 281 282 2 84 Part IV Views 14 Views ... Xcode was improved up to 3.2.5 Then, just in time for my final revisions, Xcode 3.2.6 and iOS 4. 3 were released, along with the first public version of the long-awaited Xcode 4 Xcode 4 is a thorough overhaul of the IDE: menus, windows, and preferences are quite different from Xcode 3.2.x At the same time, both Xcode 4 and Xcode 3.2.x can coexist on the same machine and can be used to work on the same project;... 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 and expound, in what I hope is a pedagogically helpful and instructive yet ruthlessly Euclidean and logical order, the principles on which sound iOS programming. .. program for iOS, you need some knowledge of the C programming language, for two reasons: • Most of your iOS programming will be in the Objective-C language, and ObjectiveC is a superset of C This means that Objective-C presupposes C; everything that is true of C trickles up to Objective-C A common mistake is to forget that “Objective-C is C” and to neglect a basic understanding of C • Some of the iOS API . 44 3 No View 44 5 Up-Shifted Root View 44 6 Rotation 44 7 Initial Orientation 44 8 Rotation Events 45 2 Modal Views 45 3 Modal View Configuration 45 4 Modal View. w0 h1" alt="" Programming iOS 4 Programming iOS 4 Matt Neuburg Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo Programming iOS 4 by Matt Neuburg Copyright

Ngày đăng: 23/03/2014, 02:20

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

    • 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

        • More Preprocessor Directives

        • Data Type Qualifiers

        • Chapter 2. Object-Based Programming

          • Objects

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

Tài liệu liên quan