没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
155页
Learn how to make iPhone and iPad apps from the ground up, with a series of epic-length tutorials for beginners! Fully updated for iOS 8 and Swift, and includes all 4 epic-length tutorials – over 900 pages! PDF format.
资源推荐
资源详情
资源评论
f
The iOS Apprentice (Third Edition) Getting Started
2
The iOS Apprentice:
Getting Started
By Matthijs Hollemans
Copyright © 2014 Razeware LLC.
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.
This book and all corresponding materials (such as source code) are provided
on an "as is" basis, without warranty of any kind, express or 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 or other dealings in the software.
All trademarks and registered trademarks appearing in this book are the
property of their respective owners.
The iOS Apprentice (Third Edition) Getting Started
3
Table of Contents
Introduction .................................................................................. 4
The language of the computer .............................................. 12
The Bull’s Eye game ................................................................. 15
The one-button app ................................................................. 17
How does an app work? ......................................................... 36
Tackling the to-do list .............................................................. 38
Objects, data and methods .................................................... 44
Adding the rest of the controls ............................................... 47
Enough playing around… let’s make a game! .................. 57
Calculating the score ............................................................... 74
Polishing the game ................................................................... 87
Adding the About screen ........................................................ 98
Making it look good ............................................................. 107
Running the game on your device ...................................... 146
The end… or the beginning? ............................................... 153
The iOS Apprentice (Third Edition) Getting Started
4
Introduction
Hi! I am Matthijs Hollemans, a full-time iOS developer and tutorial team member at
www.raywenderlich.com.
You’re about to read the first tutorial from my book The iOS Apprentice: Beginning
iOS Development with Swift.
In this book, you will learn how to make your own iPhone and iPad apps with
Apple’s new Swift programming language, through a series of four epic-length
hands-on tutorials.
Everybody likes games, so you’ll start with building a simple but fun iPhone game
named Bull’s Eye. It will teach you the basics of iPhone programming, and the other
tutorials will build on what you learn there.
The best part is you can read it here in its entirety for free!
Each tutorial in this book describes a new app in full detail, and together they cover
everything you need to know to make your own apps. By the end of the series
you’ll be experienced enough to turn your ideas into real apps that you can sell on
the App Store!
Even if you’ve never programmed before or if you’re new to iOS, you should be able
to follow along with the step-by-step instructions and understand how these apps
are made. Each tutorial has a ton of illustrations to prevent you from getting lost.
Not everything might make sense right away, but hang in there and all will become
clear in time.
Writing your own iPhone and iPad apps is a lot of fun, but it’s also hard work. If you
have the imagination and perseverance there is no limit to what you can make
these cool devices do. It is my sincere belief that this series can turn you from a
complete newbie into an accomplished iOS developer, but you do have to put in the
time and effort. By writing these tutorials I’ve done my part, now it’s up to you...
Enjoy the first tutorial! If it works out for you, then I hope you’ll get the rest of the
book from www.raywenderlich.com/store/ios-apprentice or Amazon.
The iOS Apprentice (Third Edition) Getting Started
5
The apps you’ll be making in
The iOS Apprentice
About this book
The iOS Apprentice will help you become an excellent iOS developer, but only if you
let it. Here are some tips that will help you get the most out of this book.
Learn through repetition
You’re going to make a lot of apps in this book. Even though the apps will start out
quite simple, you may find the tutorials hard to follow at first – especially if you’ve
never done any computer programming before – because I will be introducing a lot
of new concepts.
It’s OK if you don’t understand everything right away, as long as you get the
general idea. In the subsequent tutorials from this series you’ll go over many of
these concepts again until they solidify in your mind.
Follow the instructions yourself
It is important that you not just read the instructions but also actually follow
them. Open Xcode, type in the source code fragments, and run the app in the
Simulator. This helps you to see how the app gets built step by step.
Even better, play around with the code. Feel free to modify any part of the app and
see what the results are. Experiment and learn! Don’t worry about breaking stuff –
that’s half the fun. You can always find your way back to the beginning.
Don’t panic – bugs happen!
You will run into problems, guaranteed. Your programs will have strange bugs that
will leave you stumped. Trust me, I’ve been programming for nearly 30 years and
that still happens to me too. We’re only humans and our brains have a limited
capacity to deal with complex programming problems. In this course, I will give you
剩余154页未读,继续阅读
资源评论
- snowsea_xie2015-10-31good guide for new comer
- linguanfeng022015-12-06AppCoda Beginning iOS 8 Programming with博文写得很好,值得学习
- delphime2016-04-24还可以经典的翻译版本
invokefear
- 粉丝: 1
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于蚁群算法的路径规划问题+数学建模校内赛.pdf
- python《基于char-rnn和tensorflow生成周杰伦歌词》+源代码+设计资料
- 用于数据分析,包括电商的相关分析以及自己的分析,简单的jupyter处理
- 基于matlab实现的理解普通的遗传算法和佳点集遗传算法的基本思想和不同点
- 基于matlab实现的快速排序算法以及冒泡排序算法,可以直接调用.rar
- 基于matlab实现的快速排序的寻找次序统计量的算法,使用了两种不同的分割方式 .rar
- 基于matlab实现的借鉴生物免疫机制,将人工免疫原理应用于物流中心的选址,通过实验分析,表明算法的有效性.rar
- 基于matlab实现的简单实现了极值动力学寻优的特点,有效的解决了关于函数寻优.rar
- 基于matlab实现的合作协同进化算法2维函数优化的matlab源程序.rar
- 基于matlab实现的佳点集算法测试一标准函数,理解普通的遗传算法和佳点集遗传算法的基本思想和不同点.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功