What’s New in Swift 5.10, Xcode 15.3 & iOS 17.4 (+ Swift 6 Sneak Peek) |

Поделиться
HTML-код
  • Опубликовано: 28 июн 2024
  • Swift 5.10 is out, and it’s safe to say this version is all about concurrency. With new checks and optimizations, Swift concurrency is now even more efficient at preventing data races and ensuring a smooth user experience. Though it’s only a theory, I believe this emphasis on concurrency is not accidental.
    Another thing to keep in mind is, Swift 5.10 is the last milestone before Swift 6, the language’s first major release in five years. In this video, I’m having a quick look at one of the most wished-for improvements in the language-typed errors in throwing functions.
    Finally, not only is Swift getting an update this week, but also Xcode and iOS. While changes in Xcode are hard to notice (which is a good thing), I wouldn’t say the same about iOS.
    You can support the Swift Bird by…
    • …becoming a regular sponsor: / swiftbird
    • …buying me a coffee: www.buymeacoffee.com/SwiftBird
    Links:
    • Swift changelog: github.com/apple/swift/blob/m...
    • Download Xcode on the Mac App Store: apps.apple.com/us/app/xcode/i...
    • Xcode 15.3 release notes: developer.apple.com/documenta...
    • Swift 6 release process: forums.swift.org/t/swift-6-0-...
    • DMA and apps in Europe: developer.apple.com/support/d...
    • Fee calculator for apps in Europe: developer.apple.com/support/f...
    Chapters:
    • 0:00 Intro
    • 0:41 Swift 5.10 Main Theme
    • 1:58 Swift 5.10 Updates in Detail
    • 5:16 Xcode 15.3
    • 5:50 iOS 17.4 & DMA (EU)
    • 8:18 Swift 6 Sneak Peek
    • 10:03 Outro
    The Swift Bird is produced by / yakovmanshin .
    #Swift #updates #softwareengineering
  • НаукаНаука

Комментарии • 9

  • @Vigotskij
    @Vigotskij 3 месяца назад +1

    Good report! Thanks!

  • @MirrorsEdgeGamer01
    @MirrorsEdgeGamer01 2 месяца назад +1

    I am looking forward to type pack iteration in Swift 6.

  • @Xaxxus
    @Xaxxus 3 месяца назад +3

    We have had tons of build system crashes on Xcode 15.3. We had to downgrade back to 15.2.
    Also strict concurrency checking has yielded hundreds of errors and thousands of warnings. Not even sure how we’re going to do the swift 6 migration in our codebase.
    Apple seems to have blindly slapped @MainActor on every single UIkit construct. Regardless if it’s a simple struct that should be sendable, or a class with mutable state.

    • @SwiftBird
      @SwiftBird  3 месяца назад +1

      Crashes of the build system itself? 🤔
      Personally, one (big) issue I noticed after all the releases (and the video) is, Apple seems to have tweaked some checks on the App Store back end. I used to build my app with beta and RC versions of Xcode for the past few months, and they worked just fine in TestFlight. But a couple weeks ago, when I uploaded a fresh build created in the same environment, with very few changes in the project, that build was “processing” in ASC for, like, 12 hours-and then failed to deploy. Apple even reached out to me and showed some errors I’d never seen before: apparently, at least one Firebase component was “not a proper framework bundle.” I wouldn’t be surprised if that was the first time they saw this themselves. The funny thing is, I tried rebuilding and redeploying a commit that succeeded before, and got the same problem with infinite processing.
      Speaking of concurrency, I also noticed quite a few changes in the strict mode, but that project was small enough for me to fix them (except now I can’t go back to 15.2).
      So yeah, Xcode 15.3 does have its fair share of problems, after all 😵‍💫

    • @Arlen277
      @Arlen277 3 месяца назад

      @swiftbird so would you recommend downgrading to 15.2 then going back to 15.3 once they have addressed the bugs. Even when I start a new project the default “Hello World!” View will not preview or simulate

    • @SwiftBird
      @SwiftBird  3 месяца назад

      I think it could be something different in your case 🤔 Most of the issues I had were caused by third-party frameworks (e.g. Firebase) or App Store checks-neither are part of Xcode itself.
      Missing previews in SwiftUI happen from time to time, except they’re not really missing-it’s just the preview pane (“canvas”) decided to not show for some reason (but it can be re-enabled in editor options).

  • @axelcrkv
    @axelcrkv 3 месяца назад

    Thanks Yacov!!

  • @NoFilter2024
    @NoFilter2024 Месяц назад

    Will we still be able to use storyboard in the new swift update?