Swift Subscripts Tutorial (2021) – Xcode 13

preview_player
Показать описание
In this video we will learn about subscript functions in Swift. A powerful way to extend object functionality, we'll explore various use cases. We will work in Swift 5 and Xcode 13.

Sponsor: The Stream iOS Chat SDK is highly flexible, customizable and crazy optimized for performance. The Core SDK provides a reactive subset for the Stream Chat API and is constantly being improved through feedback from developers. Full RxSwift support too 👍 Get started for free today!

** Popular Series

** Get Skillshare free for 2 Months and learn iOS

** Manage all your investments from app earnings on Betterment!

** Grow your own Youtube tech channel with TubeBuddy:

#swift #iOSDeveloper #Xcode13
Рекомендации по теме
Комментарии
Автор

Nice please make more videos like this. thanks dude.

chandanchandan
Автор

Shouldn't you have been accessing the subscript value for row before column? the first arg in brackets here `myGrid[1, 1]` would return the first array in the grid. then the second arg would return the actual column, right? Please correct me if im wrong, but I think the row/col logic is backwards in the video

christianhaugen
Автор

Could you do a video of how to download the pList file from bundle to project ( using new Serialization protocol of swift). Plist file is critical for any project to carry Datasource ( without the need for Json Serialized from server ), yet the video tutorial of this subject is lacking in Youtube... Been looking around for a good tutorial but trusting iOSacademy the most.

anhhanry
Автор

I am a Javascript developer and started learning Swift a few weeks ago. But ın my opinion, there are lots of extra things to learn when I compare it to JS. This could be confusing for people who learn it as their first language.

Can you give an example how we can use it in a real life problem? As a developer who has 3 years of experience, most of the times we don't need that level of complexity. Your content is good, dont get me wrong. My problem is about Swift itself 🙂

yalcinozer
Автор

Where can i find the playlist of this series?

Adam
Автор

myGrid[3, 2] returned -1 incorrectly. I changed this line: let maxCol = grid.count. Also same with rowNumbers.count, just dropped the minus 1. Great Video. I'd like to how to code the set method.

teaberry
Автор

Bro just [safe: row] to prevent the crash, there’s no need to do those checks everywhere in the code.

AncientPrayers