Understanding Swift KeyPaths

  Рет қаралды 4,561

Stewart Lynch

Stewart Lynch

Күн бұрын

Пікірлер
@TuanHoang-qj3yq
@TuanHoang-qj3yq Жыл бұрын
Thank you for your dedication to providing excellent content with great clarity. I still have not clearly seen the benefit of keyPath. I have tried to use “dot notation” approach to the two practical examples and achieved the same results as with keyPath’s approach. I am sure that it is powerful but with my current limited knowledge unfortunately, I have not been able to appreciate the significant benefits of keyPath yet. 😢 I hope I soon will.
@chesterman18g
@chesterman18g Жыл бұрын
great video Stewart!
@andresraigoza2082
@andresraigoza2082 Жыл бұрын
Great examples, thank you so much for your work 🙂
@CarterTsai-p5t
@CarterTsai-p5t Жыл бұрын
The content is always great as usual. Thank you for all your work and sharing these.
@gakkieNL
@gakkieNL Жыл бұрын
Great series Stewart!
@robertdavis7262
@robertdavis7262 Жыл бұрын
Thanks again! I've needed this one (and one on subscripts, so ditto on the request for that) for a long time.
@robertdavis7262
@robertdavis7262 Жыл бұрын
BTW, I had the same issue showing the view in the playground.
@parietal100
@parietal100 Жыл бұрын
Great video. Learned some new techniques. Thank you.
@bonnydonny
@bonnydonny Жыл бұрын
Very helpful, thanks.
@StewartLynch
@StewartLynch Жыл бұрын
Thank. Glad to offer some insights.
@hunterdobb
@hunterdobb Жыл бұрын
Awesome! Love the format of these videos! Thank you 😊
@StewartLynch
@StewartLynch Жыл бұрын
Glad you enjoy them
@Mahadev-x7u
@Mahadev-x7u Жыл бұрын
Thanks a lot for SwiftUI’s examples 💫 please keep them up 🎈
@femialiu
@femialiu Жыл бұрын
Thanks a lot Mr Stewart! This series is really helpful. Any chance you'd cover Swift subscripts in one of the videos? I actually requested you cover Swift KeyPaths when you asked on Twitter, so thanks for this!
@StewartLynch
@StewartLynch Жыл бұрын
That sounds like a good topic. I will check it out.
@femialiu
@femialiu Жыл бұрын
@@StewartLynch Thanks.
@РоманРоман-н4н
@РоманРоман-н4н 10 ай бұрын
wow, such a great job, thanks! looks like way safer js))))
@vatanachhorn9534
@vatanachhorn9534 Жыл бұрын
Thank you!
@StewartLynch
@StewartLynch Жыл бұрын
You're welcome!
@wallacewittkoff8123
@wallacewittkoff8123 Жыл бұрын
An extremely useful video. Thanks to it I (and some of your other videos, ie CoreData) I was able to figure out and now share a use case for key paths. Suppose you want a picker that will then display one total for any number of parameters in a CoreData entity. Populating an array with a struct that included a name and a keypath of type “ReferenceWritableKeyPath did the job. The structure name is used for the picker and the tag links it to variable that is used for the reducing function (in my case a static function locate in the core data properties extension. Keypaths add a whole new dimension to data manipulation where parameters can now be treated as data as well. Perhaps there is another way to do this as well. I did try use an enum and associated value constructor and a static var all cases but this did not work for me.
@StewartLynch
@StewartLynch Жыл бұрын
Thanks for sharing
@kadeus
@kadeus Жыл бұрын
Great as always my question do u have any database course Tutorial to buy or watch? Thx sir
@StewartLynch
@StewartLynch Жыл бұрын
I have a series on using Realm, kzbin.info/aero/PLBn01m5Vbs4B8xgS_iEEuJtM_3BuZ7fiV and another that uses Core Data and it starts here kzbin.info/www/bejne/pZiUg2l-fr6Ia8U
@kadeus
@kadeus Жыл бұрын
@@StewartLynch thx 🙏🏼
@AllanSpreys
@AllanSpreys Жыл бұрын
Would you recommend Core Data or Realm for a new project Stewart?
@StewartLynch
@StewartLynch Жыл бұрын
I would recommend Core Data and I would also recommend Mark Moeykens book on Core Data. www.bigmountainstudio.com/core-data/77jt8
@AllanSpreys
@AllanSpreys Жыл бұрын
@@StewartLynch thank you!
@cestlacroix
@cestlacroix Жыл бұрын
Great!!!!!
@victorriurean
@victorriurean Жыл бұрын
nice
@jidhabraham3383
@jidhabraham3383 8 ай бұрын
same
@shurale85
@shurale85 Жыл бұрын
Great content except example of wine.. as for me
Type Extensions in Swift and SwiftUI
24:02
Stewart Lynch
Рет қаралды 2,6 М.
Introductions to Closures in Swift
25:02
Stewart Lynch
Рет қаралды 12 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Introduction to Generics in Swift
24:13
Stewart Lynch
Рет қаралды 6 М.
How to use KeyPaths in Swift | Advanced Learning #29
25:12
Swiftful Thinking
Рет қаралды 4,1 М.
How to use Dictionaries in Swift | Swift Basics #14
18:51
Swiftful Thinking
Рет қаралды 10 М.
Clean Swift Code with Where Clause
7:19
Sean Allen
Рет қаралды 12 М.
Introduction to enums in Swift
15:22
Stewart Lynch
Рет қаралды 5 М.
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
Completion Handlers
17:06
Stewart Lynch
Рет қаралды 12 М.
map, compactMap flatMap
17:06
Stewart Lynch
Рет қаралды 8 М.
How to use Subscripts in Swift | Advanced Learning #32
19:54
Swiftful Thinking
Рет қаралды 2,8 М.
How to use Actors and non-isolated in Swift  | Swift Concurrency #9
29:31
Swiftful Thinking
Рет қаралды 22 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН