没有合适的资源?快使用搜索试试~ 我知道了~
iOS.Apprentice.4.StoreSearch.v5.0.pdf
5星 · 超过95%的资源 需积分: 9 74 下载量 11 浏览量
2016-12-21
17:23:31
上传
评论 1
收藏 22.33MB PDF 举报
温馨提示
试读
290页
Up to date for iOS 10, Xcode 8, and Swift 3 The iOS Apprentice is a series of epic-length tutorials for beginners where you’ll learn how to build 4 complete apps from scratch. 一共四个部分: 第一部分地址:http://download.csdn.net/detail/xinconan1992/9717164 第二部分地址:http://download.csdn.net/detail/xinconan1992/9717170 第三部分地址:http://download.csdn.net/detail/xinconan1992/9717780 随书代码地址:http://download.csdn.net/detail/xinconan1992/9717159
资源推荐
资源详情
资源评论
iOS Apprentice
Matthijs Hollemans
Copyright ©2016 Razeware LLC.
Notice of Rights
All rights reserved. No part of this book or corresponding materials (such as text,
images, or source code) may be reproduced or distributed by any means without
prior written permission of the copyright owner.
Notice of Liability
This book and all corresponding materials (such as source code) are provided on an
“as is” basis, without warranty of any kind, express of implied, including but not
limited to the warranties of merchantability, fitness for a particular purpose, and
noninfringement. In no event shall the authors or copyright holders be liable for any
claim, damages or other liability, whether in action of contract, tort or otherwise,
arising from, out of or in connection with the software or the use of other dealing in
the software.
Trademarks
All trademarks and registered trademarks appearing in this book are the property of
their own respective owners.
License
By purchasing iOS Apprentice, you have the following license:
• You are allowed to use and/or modify the source code in iOS Apprentice in as
many apps as you want, with no attribution required.
• You are allowed to use and/or modify all art, images and designs that are
included in iOS Apprentice in as many apps as you want, but must include this
attribution line somewhere inside your app: “Artwork/images/designs: from iOS
Apprentice book, available at www.raywenderlich.com”.
• The source code included in iOS Apprentice is for your personal use only. You are
NOT allowed to distribute or sell the source code in iOS Apprentice without prior
authorization.
• This book is for your personal use only. You are NOT allowed to sell this book
without prior authorization, or distribute it to friends, coworkers or students;
they would need to purchase their own copies.
iOS Apprentice
raywenderlich.com 2
About the author
Matthijs Hollemans is a mystic who lives at the top of a mountain
where he spends all of his days and nights coding up awesome
apps. Actually he lives below sea level in the Netherlands and is
pretty down-to-earth but he does spend too much time in Xcode.
Check out his website at www.matthijshollemans.com.
About the cover
Striped dolphins live to about 55-60 years of age, can travel in pods numbering in
the thousands and can dive to depths of 700 m to feed on fish, cephalopods and
crustaceans. Baby dolphins don't sleep for a full a month after they’re born. That
puts two or three sleepless nights spent debugging code into perspective, doesn't
it? :]
iOS Apprentice
raywenderlich.com 3
Table of Contents: Extended
Tutorial 4: StoreSearch 6.............................................................
The StoreSearch app 6..........................................................................................................
In the beginning… 8...............................................................................................................
Custom table cells and nibs 31.............................................................................................
The debugger 50.....................................................................................................................
It’s all about the networking 58............................................................................................
Asynchronous networking 87.................................................................................................
URLSession 99...........................................................................................................................
The Detail pop-up 128...........................................................................................................
Fun with landscape 168.........................................................................................................
Refactoring the search 200...................................................................................................
Internationalization 222.........................................................................................................
The iPad 243............................................................................................................................
Distributing the app 273........................................................................................................
The end 289..............................................................................................................................
iOS Apprentice
raywenderlich.com 5
4
Tutorial 4: StoreSearch
By Matthijs Hollemans
The StoreSearch app
One of the most common things that mobile apps do is talking to a server on the
internet. It’s beyond question: if you’re writing mobile apps, you need to know how
to upload and download data.
In this lesson you’ll learn how to do HTTP GET requests to a web service, how to
parse JSON data, and how to download files such as images.
You are going to build an app that lets you search the iTunes store. Of course, your
iPhone already has apps for that (“App Store” and “iTunes Store” to name two), but
what’s the harm in writing another one?
Apple has made a web service available for searching the entire iTunes store and
you’ll be using that to learn about networking.
The finished app will look like this:
The finished StoreSearch app
raywenderlich.com 6
剩余289页未读,继续阅读
资源评论
- Lheiying2020-04-22很棒的资源,感谢分享!
- cn_linwong12017-10-15很棒的资源,感谢分享!
- 大象腿毛弯弯2017-06-09很不错,谢谢分享
xinconan2
- 粉丝: 268
- 资源: 400
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功