没有合适的资源?快使用搜索试试~ 我知道了~
首页Objective-C入门:探索iPhone SDK开发指南
"《初级iPhone编程:探索iPhone SDK》是一本针对iOS开发初学者的实用教程,作者是Dave Mark和Jeff LaMarche。这本书主要介绍了如何使用Objective-C语言进行iPhone应用的开发,而不是Swift语言,因此对于那些熟悉Objective-C或者打算从头开始学习iOS开发的读者来说,这是一本宝贵的资源。 本书内容结构清晰,适合对iOS应用程序开发感兴趣的读者作为入门指南。它深入浅出地讲解了iPhone SDK(Software Development Kit)的基础知识,包括设备概述、用户界面设计、数据存储、网络通信等核心概念。通过实际操作和案例分析,读者可以逐步掌握如何创建基本的应用程序,如设置界面、处理用户输入、与设备硬件交互等。 书中特别强调版权保护,所有内容未经版权所有者及出版商事先书面许可,不得以任何形式复制或传播。此外,它还包含了技术评审和编辑团队的名单,体现出专业团队对教材质量的把控。 在编写过程中,作者遵循了商标使用规范,仅在编辑性提及商标时提及商标名,既尊重了知识产权,又保持了内容的客观性和公正性。整本书印刷于美国,页码完整,体现了良好的出版品质。 如果你是一名iOS开发者新手,或是希望转型至iOS开发的工程师,这本书将为你提供一个坚实的起点,帮助你建立起扎实的Objective-C基础,并理解iOS应用开发的基本流程。通过跟随书中的指导,你不仅能快速上手,还能逐渐提升自己的编程技能和实战经验。"
资源详情
资源推荐
xxi
Acknowledgments
This book could not have been written without our mighty, kind, and clever families, friends,
and cohorts. First and foremost, eternal thanks to Terry and Deneen for putting up with us
and for keeping the rest of the universe at bay while we toiled away on this book. This proj-
ect saw us tucked away in our writers’ cubby for many long hours, and somehow, you didn’t
complain once. We are lucky men.
This book could not have been written without the fine folks at Apress. More than just a
publisher, they became fast friends. Clay Andres brought us to Apress in the first place and
carried this book on his back. Dominic Shakeshaft was the gracious mastermind who dealt
with all of our complaints with a smile on his face and somehow found a solution that made
sense and made this book better. Laura Esterman, our wonderful and gracious project man-
ager, was the irresistible force to our slowly movable object. She kept the book on the right
track and always kept us pointed in the right direction. Heather Lang, copy editor extraordi-
naire, you were such a pleasure to work with; please, please, please copy edit our next book,
too! Grace Wong and the production team took all these pieces and somehow made them
whole, and Kari Brooks-Copony pulled together an incredibly yummy interior design. Kelly
Winquist somehow coaxed such beautiful printed pages out of our Word documents. Pete
Aylward assembled the marketing message and got it out to the world. To all the folks at
Apress, thank you, thank you, thank you!
A very special shout out to our incredibly talented technical reviewer, Mark Dalrymple—in
addition to providing insightful feedback, Mark tested all the code in this book and helped
keep us on the straight and narrow. Thanks Mark!
Finally, thanks to our children for their patience while their dads were working so hard. This
book is for you Maddie, Gwynnie, Ian, Kai, Daniel, Kelley, and Ryan.
xxiii
Preface
“I haven’t been this excited about a programming platform since I first set eyes on the Mac.”
We’ve been hearing this sentiment a lot lately, and frankly, we feel exactly the same way. The
iPhone is thrilling, a fantastic piece of technology, and a brilliant combination of function
and fun. And the things you can do as a programmer!
This world is just beginning to open up. Spend some time browsing through the App Store,
and you can’t help but be filled with inspiration. And, if designing your own iPhone applica-
tion just isn’t your thing, the opportunities for iPhone development consulting are limitless.
Everyone seems to want to port their product to the platform. Our phones have been ring-
ing off the hook.
If you get a few moments, swing by our web site, http://iphonedevbook.com, and say “hi.”
Tell us about your own projects. We’d love to hear from you.
Dave and Jeff
1
s
Chapter1
Welcome
to the Jungle
o, you want to write iPhone applications? Well, we can’t say that we blame
you. iPhone might just be the most interesting new platform to come around
in a long time; certainly, it is the most interesting mobile platform to date,
especially now that Apple has provided a set of elegant, well- documented
tools for developing iPhone applications.
What This Book Is
This book is a guide to help you get started down the path to creating your
own iPhone applications. Our goal is to get you past the initial learning curve
to help you to understand the way iPhone applications work and how they
are built. As you work your way through this book, you will create a number
of small applications, each designed to highlight specific iPhone features and
show you how to control or interact with those features. If you combine the
foundation you’ll gain by making your way through this book with your own
creativity and determination, then add in the extensive and well- written docu-
mentation provided by Apple, you’ll have everything you’ll need to build your
own professional iPhone applications.
CHAPTER 1: Welcome to the Jungle 2
What You Need Before You Can Begin
Before you can begin writing software for iPhone, you’ll need a few things. For starters, you’ll
need an Intel- based Macintosh running Leopard (OS X 10.5.3 or later). Any Macintosh com-
puter—laptop or desktop—released since 2006 should work just fine.
You do not need a top-of-the- line model to get started, so a MacBook or Mac Mini will serve
admirably. The older and slower the model, the more it will benefit from a RAM upgrade,
however.
You’ll also need to sign up to become a registered iPhone developer. Apple requires this step
before you’re allowed to download the iPhone software development kit (SDK).
To sign up, navigate to http://developer.apple.com/iphone/, which will bring you to
a page similar to the one shown in Figure 1-1. Somewhere on the page is a link to the latest
and greatest iPhone SDK. Click the link, and you’ll be brought to a sign- up page with three
options.
The simplest (and free) option is to click the button that reads, Download the Free SDK. You’ll
be prompted for your Apple ID. Use your Apple ID to log in. If you don’t have an Apple ID,
click the Create Apple ID button, create one, and then log in. Once you are logged in, you’ll be
taken to the main iPhone development page. Not only will you find a link to the SDK down-
load, but you’ll also find links to a wealth of documentation, videos, sample code and the
like, all dedicated to teaching you the finer points of iPhone application development.
One of the most important elements included with the iPhone SDK is Xcode, Apple’s inte-
grated development environment (IDE). Xcode includes tools for creating and debugging
source code, compiling applications, and performance tuning the applications you’ve writ-
ten. By the time you are finished with this book, you will become an Xcode aficionado!
The free SDK also includes a simulator that will allow you to run most iPhone programs on
your Mac. This is perfect for learning how to program your iPhone. The free option will not,
however, allow you to download your applications onto your actual iPhone (or iPod Touch).
It also does not give you the ability to distribute your applications on Apple’s iPhone App
Store. For that, you’ll need one of the other two options, which aren’t free.
NOTE
The simulator does not support hardware- dependent features, such as iPhone’s accelerometer or camera.
For those, you’ll need the alternate options as well. Just thought you’d like to know!
CHAPTER 1: Welcome to the Jungle 3
Figure 1-1. Apple’s iPhone Dev Center web site
The Standard program costs $99. It provides a host of development tools and resources,
technical support, distribution of your application via Apple’s App Store, and most impor-
tantly, the ability to test and debug your code on an iPhone rather than just in the simulator.
The Enterprise program costs $299 and is designed for companies developing proprietary,
in- house applications for iPhone and iPod Touch.
For more details on these two programs, visit http://developer.apple.com/iphone/
program/
.
剩余514页未读,继续阅读
weixin_40342426
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 计算机人脸表情动画技术发展综述
- 关系数据库的关键字搜索技术综述:模型、架构与未来趋势
- 迭代自适应逆滤波在语音情感识别中的应用
- 概念知识树在旅游领域智能分析中的应用
- 构建is-a层次与OWL本体集成:理论与算法
- 基于语义元的相似度计算方法研究:改进与有效性验证
- 网格梯度多密度聚类算法:去噪与高效聚类
- 网格服务工作流动态调度算法PGSWA研究
- 突发事件连锁反应网络模型与应急预警分析
- BA网络上的病毒营销与网站推广仿真研究
- 离散HSMM故障预测模型:有效提升系统状态预测
- 煤矿安全评价:信息融合与可拓理论的应用
- 多维度Petri网工作流模型MD_WFN:统一建模与应用研究
- 面向过程追踪的知识安全描述方法
- 基于收益的软件过程资源调度优化策略
- 多核环境下基于数据流Java的Web服务器优化实现提升性能
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功