Swift Algorithms - Faster, Cleaner Code. (Chunked Example)

Sdílet
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

Komentáře • 22

  • @penyt
    @penyt Před 9 měsíci +2

    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 :)

  • @Ukr_sunflower
    @Ukr_sunflower Před 10 měsíci +6

    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)

    • @dre5671
      @dre5671 Před 10 měsíci

      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.

  • @evarilci
    @evarilci Před 10 měsíci +2

    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.

  • @youngdomsey
    @youngdomsey Před 2 měsíci +2

    Really cool! Will give it a try 😊

  • @alejmc
    @alejmc Před 10 měsíci +1

    Amazing tutorials, always so enjoyable and full of knowledge (for me as a hobbyist learner on this is quite motivating too)

  • @spradohak
    @spradohak Před 10 měsíci

    Awesome Sean 👌🏼

  • @saeedrahmatolahi462
    @saeedrahmatolahi462 Před 10 měsíci +1

    It was perfect like your other videos ❤

  • @swiftlydev
    @swiftlydev Před 10 měsíci +2

    Nice! Thanks

  • @aliamanvermez7506
    @aliamanvermez7506 Před 10 měsíci +2

    Thanks 🎉

  • @ivanmuktic4538
    @ivanmuktic4538 Před 9 měsíci

    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

  • @obaykhalefa9802
    @obaykhalefa9802 Před 8 měsíci +1

    Hello, where do I start learning a language swift?

    • @seanallen
      @seanallen  Před 8 měsíci

      Try my free absolute beginner course here on CZcams - czcams.com/video/CwA1VWP0Ldw/video.html

  • @rvst3682
    @rvst3682 Před 10 měsíci

    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😅

  • @roguespork
    @roguespork Před 10 měsíci +2

    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 😁

  • @rini8808
    @rini8808 Před 10 měsíci +1

    1st

  • @victorriurean
    @victorriurean Před 10 měsíci +1