没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Cocoa
®
Programming
Developer’s Handbook
This page intentionally left blank
Cocoa
®
Programming
Developer’s Handbook
David Chisnall
Upper Saddle River, NJ • Boston • Indianapolis • San Francisco
New York • Toronto • Montreal • London • Munich • Paris • Madrid
Capetown • Sydney • Tokyo • Singapore • Mexico City
Cocoa® Programming Developer’s Handbook
Copyright © 2010 Pearson Education, Inc.
All rights reserved. No part of this book shall be reproduced, stored in a retrieval system,
or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise,
without written permission from the publisher. No patent liability is assumed with respect to
the use of the information contained herein. Although every precaution has been taken in
the preparation of this book, the publisher and author assume no responsibility for errors
or omissions. Nor is any liability assumed for damages resulting from the use of the
information contained herein.
ISBN-13: 978-0-321-63963-9
ISBN-10: 0-321-63963-4
Library of Congress Cataloging-in-Publication Data
Chisnall, David.
Cocoa programming developer’s handbook / David Chisnall.
p. cm.
Includes index.
ISBN 978-0-321-63963-9 (pbk. : alk. paper) 1. Cocoa (Application development
environment) 2. Object-oriented programming (Computer science) 3. Application program
interfaces (Computer software) 4. Mac OS. I. Title.
QA76.64.C485 2010
005.26’8—dc22
2009042661
Printed in the United States on recycled paper at Edwards Brothers in Ann Arbor, Michigan.
First Printing December 2009
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks have
been appropriately capitalized. Pearson cannot attest to the accuracy of this information.
Use of a term in this book should not be regarded as affecting the validity of any trademark
or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possible,
but no warranty or fitness is implied. The information provided is on an “as is” basis. The
author and the publisher shall have neither liability nor responsibility to any person or entity
with respect to any loss or damages arising from the information contained in this book.
Bulk Sales
Pearson offers excellent discounts on this book when ordered in quantity for bulk purchases
or special sales. For more information, please contact us by phone or email:
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact the International Sales group:
International Sales
international@pearson.com
Editor-in-Chief
Mark L. Taub
Managing Editor
John Fuller
Full-Service
Production
Manager
Julie B. Nahil
Technical Reviewer
Gregory
Casamento
Book Designer
Gary Adair
Composition
David Chisnall
Contents
List of Figures xvii
List of Tables xxiii
Preface xxv
I Introducing Cocoa 1
1 Cocoa and Mac OS X 3
1.1 UnderstandingWhentoUseCocoa ................ 3
1.1.1 Carbon ............................. 3
1.1.2 Java............................... 5
1.1.3 Cocoa .............................. 5
1.1.4 UNIX APIs ........................... 7
1.1.5 OtherChoices ......................... 8
1.2 Understanding Cocoa’s Role in Mac OS X . ........... 9
1.2.1 Cocoa .............................. 9
1.2.2 Quartz.............................. 11
1.2.3 CoreFoundation ........................ 13
1.2.4 Darwin ............................. 14
1.2.5 XNU............................... 15
1.3 Overview............................... 16
2 Cocoa Language Options 17
2.1 ObjectOrientation ......................... 17
2.2 Objective-C ............................. 19
2.2.1 Objective-C Compiler Choices . . . ............. 20
2.2.2 DifferencesfromJavaandC++................ 22
2.2.3 Objective-C2.0......................... 23
2.3 RubyandPython .......................... 24
v
剩余923页未读,继续阅读
资源评论
- Thruth2012-07-04全面,清楚,重点明确。不错不错
- deiouseee2011-10-28内容全面而有重点。只得入手
yeq71
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功