没有合适的资源?快使用搜索试试~ 我知道了~
首页Swift 4入门指南:探索iOS 11开发SDK(第4版)
Swift 4入门指南:探索iOS 11开发SDK(第4版)
![](https://csdnimg.cn/release/wenkucmsfe/public/img/star.98a08eaa.png)
"《利用Swift 4 开始iPhone开发:探索iOS SDK第四版》是一本由Molly K. Maskrey所著的专业书籍,专为希望进入iOS应用开发领域的学习者设计。该书针对苹果公司的Swift 4编程语言,全面介绍了iOS软件开发的基础和高级概念,旨在帮助读者掌握在Apple的移动操作系统上构建应用程序所需的技能。 本书是第四版,这意味着它不仅涵盖了Swift 4语言的最新特性,还反映了iOS SDK(软件开发工具包)的更新进展,这是开发人员与苹果设备进行交互的核心组件。Swift 4作为Apple推出的新一代编程语言,其简洁、安全和现代的语法使得iOS开发变得更加直观和高效。 书中详细探讨了iOS应用程序开发的关键组成部分,包括但不限于界面设计、用户体验、数据存储、网络通信、多线程编程、以及与Apple框架(如UIKit、Core Data、MapKit等)的集成。作者通过丰富的实例和实战项目,引导读者逐步构建实际的iOS应用,以便理解和掌握核心开发技术。 此外,书中还包括对Swift 4的最佳实践、性能优化、错误处理和调试技巧的深入剖析,以确保读者在实际工作中能有效地应用所学知识。版权信息表明,这本书受到法律保护,未经许可不得复制、传播或以任何形式进行商业用途,仅限于学术研究和个人学习目的。 对于想要踏入iOS开发领域或者升级现有技能的开发者来说,《利用Swift 4 开始iPhone开发:探索iOS SDK第四版》是一本不可或缺的参考资料,提供了从入门到进阶的学习路径,有助于提升他们在苹果生态系统中的竞争力。无论是初学者还是经验丰富的开发人员,都能从中获得有价值的指导和实践指导。"
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/10047482/bg10.jpg)
xvii
About the Author
Molly K. Maskrey started as an electrical engineer in her 20s working for
various large aerospace companies including IBM Federal Systems, TRW
(now Northrup-Grumman), Loral Systems, Lockheed-Martin, and Boeing.
After successfully navigating the first dot-com boom, she realized that a
break was in order and took several years off, moving to Maui and teaching
windsurfing at the beautiful Kanaha Beach Park.
She moved back to Colorado in 2005 and, with Jennifer, formed
Global Tek Labs, an iOS development and accessory design services
company that is now one of the leading consulting services for new
designers looking to create smart attachments to Apple devices.
In 2014 Molly and Jennifer formed Quantitative Bioanalytics
Laboratories, a wholly owned subsidiary of Global Tek to bring high-
resolution mobile sensor technology to physical therapy, elder balance and fall prevention, sports
performance quantification, and instrumented gait analysis (IGA). In a pivot, Molly changed the direction of
QB Labs to a platform-based predictive analytics company seeking to democratize data science for smaller
companies.
Molly’s background includes advanced degrees in electrical engineering, applied mathematics, data
science, and business development. Molly generally speaks at a large number of conferences throughout
the year including the Open Data Science Conference (ODSC) 2017 West, advancing the topic of moving
analytics from the cloud to the fog for smart city initiatives. What fuels her to succeed is the opportunity to
bring justice and equality to everyone whether it’s addressing food insecurity with her business partner or
looking at options for better management of mental health using empirical data and tools such as natural
language processing, speech pattern recognition using neural networks, or perfusion analysis in brain
physiology.
![](https://csdnimg.cn/release/download_crawler_static/10047482/bg11.jpg)
xix
About the Technical Reviewer
Bruce Wade is a software engineer from British Columbia, Canada. He started software development when
he was 16 years old by coding his first web site. He went on to study computer information systems at DeVry
Institute of Technology in Calgary; to further enhance his skills, he studied visual and game programming at
the Art Institute of Vancouver. Over the years he has worked for large corporations as well as several startups.
His software experience has led him to utilize many different technologies including C/C++, Python,
Objective-C, Swift, Postgres, and JavaScript. In 2012 he started the company Warply Designed to focus on
mobile 2D/3D and OS X development. Aside from hacking out new ideas, he enjoys spending time hiking
with his Boxer Rasco, working out, and exploring new adventures.
![](https://csdnimg.cn/release/download_crawler_static/10047482/bg12.jpg)
xxi
Acknowledgments
First, I want to acknowledge all my friends who gave me the support to persevere and go through with
writing when it would have been so easy to just give up. Thanks to Sam especially, another writer I met more
than a year ago, who was always there to provide support, drink tequila, and suggest fun things to do in order
to keep it real. He was my cohost at almost a year of rooftop parties at Galvanize.
Thanks to Children’s Hospital Colorado and the Center for Gait and Movement Analysis, both of which
have been so generous to let me be part of what they do for young adults with cerebral palsy and other gait
disorders. The understanding I’ve gained drives me to focus my efforts on helping the many who truly need
it. Thanks to the CEOs of 10.10.10 Health who let me see what they were doing and to provide my annoying
feedback.
Thanks to the clients and friends of Global Tek Labs who so generously allowed me to include some of
their projects in this book for illustrative purposes. Thanks to the hundreds of people who have attended my
talks over the past year and have given me ideas for what to include, such as John Haley who told me of his
personal woes in understanding the Auto Layout feature of Xcode. Those actual experiences helped drive
the subject matter I chose to include in this book.
Finally, I want to acknowledge all the authors before me who set the stage for my own little work to fit
into a much broader landscape.
![](https://csdnimg.cn/release/download_crawler_static/10047482/bg13.jpg)
1
© Molly K. Maskrey 2017
M. K. Maskrey, Beginning iPhone Development with Swift 4,
https://doi.org/10.1007/978-1-4842-3072-5_1
CHAPTER 1
Getting to Know the iOS
Landscape
Coding for Apple mobile devices provides a rewarding and lucrative career path where you might not only
change people’s lives with your app (see Figure1-1) but might also have a great time being with bright,
like-minded women and men such as yourself. Though you’re bound to find some difficulty in learning the
language, tools, and processes, these new associates will help you through the landscape of this new world
and will challenge you to be your best and to stand out from the mediocre.
Figure 1-1. One of the greatest feelings you can experience as an iOS developer is seeing other people using
your creation out in the real world
![](https://csdnimg.cn/release/download_crawler_static/10047482/bg14.jpg)
CHAPTER 1 ■ GETTING TO KNOW THE IOS LANDSCAPE
2
For now, think of me as one of those friends along your journey of iOS discovery. I’m so proud to be
able to help you by providing this initiation into the world of iOS development, whether it is for iPhone, iPod
touch, or the iPad. iOS provides an exciting platform that has seen explosive growth since it first came out in
2007. The proliferation of mobile devices means that people are using software everywhere they go, whether
it is a phone or a wearable, such as the Apple Watch. With the release of iOS 11, Xcode 9, Swift 4, and the
latest version of the iOS software development kit (SDK), things continue to be exciting and generally have
become easier for new developers. What’s more, you can now bring the world of data science and predictive
analytics to your app with CoreML as well as image and natural language processing frameworks.
About the Book
This book guides you down the path to creating your own iOS applications. I want to get you past the initial
difficulties to help you understand the way that iOS 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 iOS features and to show you how to control or interact with those features. If you
combine the foundation you’ll gain through this book with your own creativity and determination and then
add in the extensive and well-written documentation provided by Apple, you’ll have everything you need to
build your own professional iPhone and iPad applications.
■ Note Throughout most of this book, I tend to refer to the iPhone and iPad, as they are the devices that
you’ll most commonly use in the examples. This does not preclude the iPod touch by any means; it is just a
matter of convenience.
■ Tip The authors of the previous editions of this book have set up a forum, which is a great place to meet
like-minded folks, get your questions answered, and even answer other people’s questions. The forum is at
http://forum.learncocoa.org. Be sure to check it out!
Things You’ll Need
Before you can begin writing software for iOS, you’ll need a few items. For starters, you’ll need an Intel-based
Macintosh running Sierra (macOS 10.12) or newer. Any recent Intel-based Macintosh computer—laptop or
desktop—should work just fine. Of course, as well as the hardware, you’ll need the software. You can learn
how to develop iOS applications and get the software tools that you’ll need as long as you have an Apple ID;
if you own an iPhone, iPad, or iPod, then you’ve almost certainly already have an Apple ID, but if you don’t,
just visit https://appleid.apple.com/account to create one. Once you’ve done that, navigate to https://
developer.apple.com/develop. This will bring you to a page similar to the one shown in Figure1-2.
剩余563页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)