没有合适的资源?快使用搜索试试~ 我知道了~
Pro iOS5 Tools, Xcode Instruments and Build Tools
5星 · 超过95%的资源 需积分: 10 7 下载量 103 浏览量
2013-01-28
15:44:15
上传
评论
收藏 11.11MB PDF 举报
温馨提示
试读
386页
Pro iOS5 Tools, Xcode Instruments and Build Tools all in Engilsh
资源推荐
资源详情
资源评论
COMPANION eBOOK
US $49.99
Shelve in
Mobile Computing
User level:
Intermediate–Advanced
www.apress.com
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
G
et your app ready for success with Pro iOS 5 Tools. From diagnosing
memory issues to tweaking scroll views and everything in between, this
book helps you fix problems that could hold your project back from the App
Store. It shows you how to use all the tools available to iOS developers: Xcode,
Interface Builder, Instruments, network diagnostic tools, version control, and
more. You’ll also learn techniques for debugging and even find guidance on
Cocoa frameworks, memory management and ARC, and automation.
Pro iOS 5 Tools follows a project from the alpha-stage to a feature-complete
and tested application. You’ll learn all about beta testing, ways to optimize your
workflow with automation, and how to migrate to a universal application.
Pro iOS 5 Tools shows you how to:
•
Work your way through an app and tune the user interface for
performance
•
Diagnose and address memory issues, leaks and dealing with
intermittent crashes
•
Deal with networking issues and reliably recreate or simulate these
environments
•
Address multitasking and behind-the-scenes power drains
•
Distribute your app to beta testers and speed up development time
with shortcuts and enhancements to developer tools
Whether you’re building games, business apps, or any other flavor of app, Pro
iOS 5 Tools gives you the knowledge you need to master performance and
debugging techniques and get your app ready for success on the App Store.
Companion
eBook
Available
Alexander
Dillon
Kim
iOS 5 Tools
Pro
iOS 5 SDK apps development using Xcode,
Interface Builder, Instruments, GDB, and key tools
Pro
iOS 5 Tools
Xcode, Instruments, and Build Tools
Brandon Alexander
|
J.Bradford Dillon
|
Kevin Y. Kim
Interface Builder, Instruments, GDB, and key tools
Interface Builder, Instruments, GDB, and key tools
Pro
SOURCE CODE ONLINE
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
iv
Contents at a Glance
Contents .............................................................................................................. v
About the Authors .............................................................................................. ix
About the Technical Reviewer ............................................................................ x
Acknowledgments ............................................................................................. xi
Introduction ...................................................................................................... xii
■Chapter 1: Wax On, Wax Off ............................................................................. 1
■Chapter 2: First-Class Tools ............................................................................ 7
■Chapter 3: Three Screens . . . and Well, It Runs ............................................ 37
■Chapter 4: Memory Management and Diagnostics ....................................... 49
■Chapter 5: Core Animation and Smooth Scrolling ......................................... 99
■Chapter 6: Networking, Cache, and Power Management ............................ 137
■Chapter 7: Prepare the Beta! ....................................................................... 175
■Chapter 8: Why Are Things Breaking? ......................................................... 203
■Chapter 9: Can We Automate Some of This? ............................................... 241
■Chapter 10: Now, They Want an iPad Version ............................................. 275
■Chapter 11: How Do I Share Some of This? ................................................. 309
■Chapter 12: One More Thing ........................................................................ 349
Index ............................................................................................................... 369
1
Chapter
Wax On, Wax Off
By now, you have written an iOS application or two. You have also learned that making
a great app is hard work. From spontaneous crashes to memory leaks and bugs that
create other bugs, the simplest of apps can quickly become a nightmare. Fortunately,
these issues are easy to diagnose with the tools at our disposal.
That is what this book is mostly about. We have a toolbox available to us as iOS
developers. Ultimately, the question quickly becomes: Which tool is best for the task at
hand? This book will answer that question for most of your cases. For the cases where
there is no obvious answer, you will be equipped with some approaches and techniques
that will point you in the right direction.
Who Is This Book For?
In most crafts, the transition from being a complete beginner to being capable is usually
swift. The goal during this transition is simply to become functional with the tools and
understand the language the craftsmen speak. This transition also builds confidence in
the new practitioner. At the end of this transition, practitioners are fully capable of
accomplishing most tasks and solving most problems thrown at them.
Most stop at proficient, however. As a magician, I progressed from a newcomer to the
art to a proficient amateur relatively quickly. As I learned a new technique or a new
effect, I was very excited to practice. As my skill improved, that desire to practice
lessened, and I even became bored with rehearsing the same effect or technique over
and over. My skill had reached a plateau. I know what I must do to get to the next level,
but I don’t want to go there right now. That is OK with me.
How is this relevant to software development? First, like any craft, a certain set of
programming skills is rapidly acquired, including learning the syntax of a language,
understanding flow control, using basic software design patterns, and debugging by
writing to standard out and basic use of the provided debugger. The next phase of a
developer’s path to mastery is learning more about how a language and platform work,
more design patterns and their appropriate uses, and more about the debugger. The
final, never-ending, phase is simply fine-tuning all of these skills and finding better
1
CHAPTER 1: Wax On, Wax Off
2
solutions to existing problems, as well as learning how to reuse code more. This learning
path is not the same for every developer. Sometimes, different parts of development are
easier to grasp than others.
The point here is that I don’t want you to get frustrated when you don’t progress as fast
as you’d like. Software development is hard. The thing that separates a hobbyist from a
professional is the level of commitment. The commitment to go from a proficient
hobbyist to a professional generally takes you into career mode. This level of dedication
takes more than just hours of practice. You have to start looking at how other software
is made. Surrounding yourself with others that develop for the same platform, especially
those who are better than you, is key to growing. By purchasing this book, you are also
acknowledging that you want to be a better developer. My goal is to help you learn at
least one new skill. If you do that, my job is done, and if you do more, even better!
So who is this book for? This book is for those who are ready to reach the next level.
Whatever skill level you are at, this book has something for you. Perhaps you are a
master at object-oriented programming, and performance tuning is something you want
to learn. Or maybe you want to know the best way to create a universal application for
iOS without rewriting half your application. The only prerequisite is that you have some
exposure to iOS development and Objective-C.
What This Book Is
This book is a guide that will take you from an alpha quality application to a feature-
complete and tested application ready for submission to the App Store. This book
contains many tricks of the trade, from diagnosing memory issues to tweaking scroll
views to squeeze the last bit of performance out of the device. In the end, you’ll want to
have this book on your desk with pages marked for quick reference on how to solve
common problems.
Will this book solve all of your problems? Probably not, but you will walk away with
some techniques for solving problems in a very systematic way. Deep down, we’re
scientists, and following the scientific method for solving problems in software will, in
the end, help us learn how to prevent the problem next time.
This book also follows a realistic software life cycle. We’ll pick up a project at the end of
development, and we’ll take it through beta testing and finish with a shippable product.
We’ll hit some common roadblocks and look at how iOS works; we’ll even work around
some interesting issues. We’ll also find some useful libraries written by people who
cared enough to share their solutions to particular problems.
What You Need to Get Started
To get the most out of this book, you’ll need a paid developer account in the iOS Dev
Center. This will give you the ability to test on an iOS device as well as run the
performance tools against the iOS device. We will do several things on the device itself,
and your best bet is to go ahead and sign up for the paid developer account if you don’t
剩余385页未读,继续阅读
资源评论
- chmy_33102013-07-03非常实用,特别是对leaks和ui automent
may_he
- 粉丝: 9
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- python开心麻花影视作品分析程序+源码.zip
- pythonExcel数据分析师程序+源码.zip
- PlatformUI.jar 支持RCP控件环境插件
- VB+ACCESS大型机房学生上机管理系统(源代码+系统).zip
- 基于BP神经网络的回归分析,基于优化动量因子的BP神经网络,基于优化学习率的BP神经网络,基于优化隐藏层神经元的bp神经网络
- python读取excel数据Python-file-reading-master.zip
- STC15单片机串口2使用程序例子
- 读取日志的excel生成周报 用python3开发weekplan-master.zip
- python 读取excel数据导入dbimport-data-master.zip
- K折交叉验证BP神经网络,多输入多输出BP神经网络(代码完整,数据齐全)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功