Introduction to Swift 2 with Xcode 7

所在平台: Udemy

课程主页: https://www.udemy.com/course/introduction-to-swift-2-with-xcode-7/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Swift 2与Xcode 7入门 课程概述:本课程教授Swift语言版本2的基础知识。Swift是一种强大的编程语言,广泛用于开发iPhone、iPad和OS X应用程序。在本课程中,你将学习Apple的集成开发环境Xcode 7,并学会编写简单的Swift程序,为开发完整的Mac和Apple移动设备应用做准备。课程包含超过5小时的视频演示和许多源代码示例,共分为六个单元: 单位1:Xcode - 介绍Xcode界面的各个部分及其使用方法。 单位2:Swift类型 - 讨论变量和常量以及Swift中的各种基本数据类型,并全面讲解可选类型。 单位3:集合和控制结构 - 学习数组、集合和字典,这些用于将基本类型分组为集合。此外,还涵盖了Swift语言中的循环和决策结构。 单位4:函数 - 以值类型和引用类型的讨论开始,探索Swift函数语法,这是面向对象代码中方法的基础。还将讨论闭包,并提供使用闭包的示例。 单位5:枚举 - 抛开简单的C语言枚举:Swift的枚举可以包含方法,枚举成员可以具有底层值、没有值或可能有不同的值。 单位6:结构和类 - 在Swift中,结构(以及类)可以定义属性和方法。我们主要关注属性语法(方法语法与单位4中的函数语法相同)。还将全面讨论存储属性和计算属性、属性观察者、懒加载和静态属性。最后,通过演示讲解继承。 所有单元都有完整的源代码和练习(以及答案)以测试你的知识。

课程评论(0条)

课程详情

This course teaches the basics of version 2 of the Swift language. Swift is a powerful language used to develop applications for iPhone, iPad, and OS X. In this course, you'll learn about Xcode 7 (Apple's integrated development environment), and learn to write short programs in Swift, which will prepare you to start learning to develop full applications for Macs and Apple's mobile devices.The course contains over 5 hours of video demos and many source code examples. It is divided into six units: Unit 1: Xcode - covers the various parts of the Xcode interface and how to use themUnit 2: Swift types - covers variables and constants and the various basic data types in Swift, along with a full discussion of optionals. Unit 3: Collections and control structures - learn about arrays, sets, and dictionaries, which are used to group basic types into collections. Also covers loops and decision constructs in the Swift language. Unit 4: Functions - beginning with a discussion of value and reference types, we explore Swift function syntax, which forms the basis for methods in object oriented code. We'll also discuss closures, and give examples of when and how to use them. Unit 5: Enumerations - Forget those simple C enums: Swift's enumerations can contain methods, and the members of an enum may have underlying values, no values at all, or may be of different values altogether! Unit 6: Structures and Classes - In Swift, structures (as well as classes) may have both properties and methods defined. We'll focus mainly on the property syntax here (the method syntax is the same as function syntax, covered in Unit 4). A full discussion of stored and computed properties, property observers, lazy and static properties. We'll conclude with a demo on inheritance. All units have full source code and exercises (along with answers) to test your knowledge.

课程标签

0人关注该课程

主题相关的课程