没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
976页
《ios 6编程cookbook(影印版)》将帮助你克服那些为iphone,ipad或者ipod touch创建应用时不可避免会碰到的各种棘手问题。通过利用在本修订手册中列出的新的和校正过的实例,你将快速掌握编写完成ios应用所需的各个步骤——包括存储和保护数据、增强和动画化图形、管理文件和目录以及使用passbook。 本手册针对ios 6 sdk做了完整的更新,它为你展示了如何使用数以百计的技术来解决各个层面的开发人员都会面临的常见问题。每种实例都包含了你可以直接使用的样例代码。 使用pass kit来提交诸如忠诚卡(loyalty card)这样的数字签名通行证 使用cocoa auto layout来定义ui元素的布局 开发位置感知的应用 实现手势识别的样例 使用新的objective-c运行时特性 播放音频和视频文件与访问ipod库 从address book中检索联系人和群组 确定相机的可用性和访问photo库 创建多任务感知的应用 使用event kit来管理日程表、日期和事件 运用加速计和陀螺仪 使用icloud服务来增强你的应用 vandad nahavandipoor从事软件开发工作多年,使用过cocoa,cocoa touch,assembly,delphi和.net等多种语言。在一家移动支付方案全球领导者公司工作期间,他为一些世界上最大的品牌客户提供了移动应用,其中包括visa和us bank。
资源推荐
资源详情
资源评论
iOS 6 Programming Cookbook
by Vandad Nahavandipoor
Copyright © 2013 Vandad Nahavandipoor. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://my.safaribooksonline.com). For more information, contact our
corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com.
Editors: Andy Oram and Rachel Roumeliotis
Production Editor: Rachel Steely
Copyeditor: Jasmine Kwityn
Proofreader: Jason Schneiderman
Indexer: Bob Pfahler
Cover Designer: Karen Montgomery
Interior Designer: David Futato
Illustrator: Rebecca Demarest
December 2012: First Edition.
Revision History for the First Edition:
2012-11-19 First release
See http://oreilly.com/catalog/errata.csp?isbn=9781449342753 for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc. iOS 6 Programming Cookbook, image of a shrew tenrec, and related trade dress are
trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-1-449-34275-3
[LSI]
1353339479
www.lanrenios.com
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1. The Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1
Creating a Simple iOS App in Xcode 2
1.2 Understanding Interface Builder 5
1.3
Compiling iOS Apps 7
1.4 Running iOS Apps on the Simulator 11
1.5
Running iOS Apps on iOS Devices 12
1.6
Packaging iOS Apps for Distribution 15
1.7
Declaring Variables in Objective-C 20
1.8 Allocating and Making Use of Strings 23
1.9 Comparing Values in Objective-C with an if Statement 27
1.10 Implementing Loops with for Statements 30
1.11 Implementing while Loops 32
1.12 Creating Custom Classes 35
1.13 Defining Functionality for Classes 38
1.14
Defining Two or More Methods with the Same Name 43
1.15
Allocating and Initializing Objects 46
1.16
Adding Properties to Classes 48
1.17
Moving from Manual Reference Counting to Automatic Reference
Counting 52
1.18
Typecasting with Automatic Reference Counting 57
1.19
Delegating Tasks with Protocols 60
1.20
Determining Whether Instance or Class Methods Are Available 66
1.21
Determining Whether a Class Is Available at Runtime 69
1.22
Allocating and Making Use of Numbers 70
1.23
Allocating and Making Use of Arrays 72
1.24
Allocating and Making Use of Dictionaries 77
1.25
Allocating and Making Use of Sets 80
1.26
Creating Bundles 83
1.27
Loading Data from the Main Bundle 84
1.28
Loading Data from Other Bundles 88
iii
www.lanrenios.com
剩余975页未读,继续阅读
资源评论
insect27
- 粉丝: 12
- 资源: 51
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功