filmov
tv
Swift Fundamentals: Arrays and Sets
![preview_player](https://i.ytimg.com/vi/vCfBenlQC-M/maxresdefault.jpg)
Показать описание
In the previous episode, we explored some of the common types defined by the Swift standard library. Today, we continue that exploration by taking a close look at collection types. The Swift standard library defines three collection types, arrays, sets, and dictionaries. This episode zooms in on arrays and sets.
While each collection type has a unique set of features, the collection types of Swift's standard library also have a few things in common. The values and keys stored by arrays, sets, and dictionaries are strictly typed. In other words, you cannot insert an integer into an array of strings.
This may seem like a major limitation if you're used to working with weakly typed languages. The benefits, however, far outweigh this limitation. You always know what to expect when you're working with a collection in Swift. That's a significant benefit if your goal is creating a robust codebase.
While each collection type has a unique set of features, the collection types of Swift's standard library also have a few things in common. The values and keys stored by arrays, sets, and dictionaries are strictly typed. In other words, you cannot insert an integer into an array of strings.
This may seem like a major limitation if you're used to working with weakly typed languages. The benefits, however, far outweigh this limitation. You always know what to expect when you're working with a collection in Swift. That's a significant benefit if your goal is creating a robust codebase.
Swift Fundamentals: Arrays and Sets
Swift Basics: Array vs. Set
How to use Arrays and Sets in Swift | Swift Basics #13
Swift basics: Array vs Set
Swift: Arrays vs Sets
Arrays, Dictionaries and Sets in Swift
Swift - Collection Types (Arrays, Sets & Dictionaries)
Swift 5 - Sets VS Arrays (Similarities, differences and use case)
Swift Fundamentals - Swift collections, Array
swift basics array vs sets , tuple vs dictionary #ios#swift #xcode#mac#mobileapplicationdevelopment
Arrays vs Sets vs Tuples – Swift in Sixty Seconds
Swift Fundamentals Unit 2 Lesson 5: Collections (Arrays and Dictionaries)
Swift for Beginners: Set and OrderedSets (Xcode 11, 2020) - iOS Development
Swift Basics: How to Declare Arrays which accept any Data Types
A different way to explain Arrays, Sets, and Dictionaries in Swift
Sets – Swift in Sixty Seconds
Introduction to Swift: Arrays
Swift Basics: Array vs.Set#ios#mac#xcode#coding#codingtutorials#mobile #mobileapplicationdevelopment
Swift Collections: Arrays and Dictionaries
SWIFT 4 – Sets
Swift Fundamentals - Swift collections, Array, Part-2
IOS , Swift 5, Theory, Tutorial, #04 P1 Collection Types Arrays
Swift Programming Tutorial | FULL COURSE | Absolute Beginner
Learn the Essentials of Swift in one hour
Комментарии