Swift Algorithms - Faster, Cleaner Code. (Chunked Example)
Vložit
- čas přidán 31. 05. 2024
- Go to squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.
Swift Algorithms is a package from Apple that has a TON of useful (and highly performant) algorithms that you can use in your project. In this video I show you how I used the chunked algorithm to group a list of expenses by month. I show you how to install the Swift Algorithms package, learn from the documentation and implement an algorithm in a project.
My iOS Dev Courses:
seanallen.teachable.com/
Swift Algorithms GitHub Repo:
github.com/apple/swift-algori...
WWDC 2021 - Meet the Swift Algorithms package:
developer.apple.com/videos/pl...
Twitter:
Sean Allen - / seanallen_dev
Hired.com:
hired.com/x/1n01g
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Paul Hudson's Hacking With Swift:
gumroad.com/a/762098803
Donny Wals - Combine:
gumroad.com/a/909014131
Mark Moeyken’s SwiftUI Books:
www.bigmountainstudio.com/swiftui-views-book/fzc51
Objc.io Books (Thinking in SwiftUI & Advanced Swift):
gumroad.com/a/656585843
Timestamps:
0:00 - Swift Algorithms
0:31 - What we’re working with
1:12 - Swift Algorithms Reference Guide
5:14 - Installing the package
5:26 - Chunked code example
10:01 - Updating our UI with DisclosureGroup
#swift #softwaredeveloper #iosdeveloper - Věda a technologie
This tutorial is so helpful. I was thinking of implementing something like this in my own project and thanks to CZcams algorithm on recommending me swift algorithm! Thumbs up for another helpful video :)
Your tutorials are clear and awesome. Personally, I would like to see a tutorial how to create/use animations in SwiftUI and animate anything with them. For example the appear/disappear of views, texts, images, etc. Thank you for your work, so excited to see new tutorials)
For a cool specific animation, check out his video on geometry reader.
For videos specific to animations, check out Swiftul Thinking’s animation video. Nick (Swiftul Thinking) is another great teacher in SwiftUI.
I am gonna have to do same thing on UIKit tableview sections, this video will save me a lot of time. Thank you so much.
Glad it was helpful!
Really cool! Will give it a try 😊
Have fun!
Amazing tutorials, always so enjoyable and full of knowledge (for me as a hobbyist learner on this is quite motivating too)
Awesome Sean 👌🏼
It was perfect like your other videos ❤
Nice! Thanks
You bet!
Thanks 🎉
No problem
Awesome, and just when I needed it. :)
But I bump into one problem, so if I append array let's say with 3 items for day 8.8, then 1 item 9.8, then again 2 items 8.8, I will get 3 arrays. 8.8, 9.8, 8.8... Someone myb know why? Tanks :D
Hello, where do I start learning a language swift?
Try my free absolute beginner course here on CZcams - czcams.com/video/CwA1VWP0Ldw/video.html
haha it was hard for me making combined model by the same date before i don't know it is that easy by using this Swift Algorithm😅
I also have a feeling this `chunked` example could be used to get the total expenses for a given month (eg. July $95, August $100) listed in that label 😁
Yup :)
1st