45

Programming in Swift: Fundamentals [SUBSCRIBER]

 4 years ago
source link: https://www.tuicool.com/articles/MZvANza
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Programming in Swift: Fundamentals

Sep 24 2019 · Video Course (4 hrs, 4 mins) · Beginner

Learn about Apple’s open source programming language, Swift, through hands-on examples! Take a deep dive into the Swift language, learning about core Swift concepts like loops, collections, types, optionals, functions, classes, and more.

Get Started

Version

  • Swift 5.1, iOS 13, Xcode 11

Getting Started Language iOS & Swift Tutorials

f6927071-bbd1-475c-968b-e9a60119146d.png6875b996-b7d8-4dd9-bdcf-f9b113f99baa.png

Core Concepts

Welcome to Programming in Swift! Let's go over what you'll be learning in this course, and why it's important.

Learn how to create your first Swift playground, what all the various bits are in playgorunds, and how comments work.

Learn how to use a Swift type called Booleans, which represent true or false values.

Practice using booleans on your own, through a series of hands-on challenges.

Learn how to use various logical and comparison operators in Swift to create Booleans.

Practice using logical operators on your own, through a hands-on challenge.

Optionals

11:41

Learn about one of the most important aspects of Swift development - optionals - and how to unwrap, force unwrap, and bind optionals.

Challenge time! In this episode you'll practice using optionals on your own. Let's get started!

Conclusion

1:50

Let's review where you are with your Swift core concepts, and discuss what's next.

Beginning Collections

Let's review what you'll be learning in this section, and why it's important.

Tuples

6:04

Learn to group related data together into a single unit, through the power of a Swift type called Tuples.

Challenge time! In this episode you'll practice using tuples on your own. Let's dive in!

Arrays

5:13

Learn how to use arrays in Swift to store an ordered list of values.

See how to manipulate arrays with their built-in methods.

Practice using arrays on your own, through a hands-on challenge.

Conclusion

0:59

Let's review where you are with your Swift core concepts, and discuss what's next.

Control Flow

Let's review what you'll be learning in this section, and why it's important.

Learn how to make Swift repeat your code multiple times with while loops, repeat while loops, and break statements.

Practice using while loops on your own, through a hands-on challenges.

For Loops

10:09

Learn how to use for loops in Swift, along with ranges, continue, and labeled statements.

Practice using for loops on your own, through a hands-on challenge.

Learn how to use your existing knowledge of for loops to iterate over collections.

Practice iterating over collections using loops on your own, through a hands-on challenges.

Learn how to nest one loop inside another, and even terminate a loop early if and when you need to.

Practice working with nested loops and the break and continue statements on your own, through a hands-on challenge.

Conclusion

1:18

Let's review where you are with your Swift core concepts, and discuss what's next.

More Collections

Let's review what you'll be learning in this section, and why it's important.

Learn how to create and populate Dictionaries, a useful collection in Swift.

See how to access the contents of dictionaries and manipulate dictionaries.

Practice using dictionaries on your own, through a hands-on challenge.

Learn how to create sets, , how to populate them with data and retrieve that data, and how to compare sets to each other with their built-in methods.

Practice using sets on your own, through a hands-on challenge.

Conclusion

1:16

Let's review what you learned in this section, and discuss what's next.

Functions and Named Types

Let's review what you'll be learning in this section, and why it's important.

Learn how to write your own functions in Swift, and see for yourself how Swift makes them easy to use.

See how the "return" keyword is used in Swift, and when it's required and when it's optional.

Practice writing functions on your own, through a hands-on challenge.

Structures

10:22

Learn how structures work, and all about their properties and methods.

Learn when it's best to use computed properties, and when it's best to use methods.

Classes

9:32

Take a deep dive into methods, including writing initializers, mutating methods, extensions, and more.

Practice writing classes on your own, through a hands-on challenge.

Conclusion

2:43

Let's review what you learned in this section, and discuss what's next for you in this learning path.

Who is this for?

Beginners!If you’ve never created a playground before, or if you aren’t sure what while loops or break statements are, this is a great course to get you started. With easy-to-understand lessons and hands-on practice, soon you’ll be writing your own methods and implementing structures and classes with ease.

You’ll start at the very beginning, creating your first playground and learning about comments, tuples, booleans, and operators. Then, you’ll learn to control the flow of your code. For loops, switch statements, enums, oh my! You’ll build on the basics by implementing functionals and optionals through fun, hands-on challenges.

This course isn’t suited for intermediate or advanced developers. If that’s you, check out ourintermediate oradvanced video courses for more ways to level-up your developer skills!

Covered concepts

This course is jam-packed with the fundamentals to give you a solid grounding for your Swift adventures. Here are some of the concepts you’ll conquer along the way:

  • Playgrounds
  • Comments
  • Tuples
  • Booleans
  • Operators
  • For loops
  • While loops
  • Switch statements
  • Enumerations
  • Functionals
  • Optionals
  • Collections
  • Arrays
  • Dictionaries
  • Structures
  • Properties
  • Methods
  • Classes/Subclasses
  • Protocols
  • Closures
  • Initializers
  • Memory management

Contributors

Chris Belanger

Chris Belanger is the Editor-in-Chief of raywenderlich.com. If there are words to wrangle or a paragraph to ponder, he‘s on the...

Instructor

Catie Catterwaul

Catie makes things for, with, and about Apple tech in collaboration with her husband,Jessy! She is inspired by everyone at...

Materials Author
Christine Sweigart

Christine is Razeware's administrative assistant and video editor. For many years she fostered a strong dislike of green...

Editor

Katie Collins

Katie is a video editor, podcast producer and Razeware's customer support lead. When not sat behind a screen she enjoys...

Editor


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK