Super Power Scroll Views - SwiftUI - iOS 17

preview_player
Показать описание

SwiftUI ScrollViews got super powers in iOS 17. Today's video goes over how easy it is to add transition animations, snapping and more.

WWDC 2023 Video - Beyond ScrollViews:

My iOS Dev Courses:

X (Twitter):

Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):

Paul Hudson's Hacking With Swift:

Donny Wals - Combine:

Mark Moeyken’s SwiftUI Books:

0:00 - ScrollView iOS 17 Updates
0:41 - Adapting to size classes
2:31 - Next item peeking - contentMargins
3:41 - Snap to view when scrolling
5:12 - Transition Animations

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

I'm still surprised how easy it is to add such animations in SwiftUI. Thanks for the content, always!

debasismandal
Автор

Love the Transisions, can't wait to use it.... ❤

kdtechniquesofficial
Автор

🤯

Amazing content as always Sean! Thanks for this!

liftingwithjames
Автор

Awesome, this is so cool, sometimes I have used scrollviews and I want to put something different at the time of interaction, and this is so cool.

PatronLite
Автор

Great tutorial, Sean, saved the day. And love your teaching style as you explain it well and make it easy to understand.

DD-hhsp
Автор

You are a star Sean, much appreciated

_thorThunder_
Автор

I love you best of luck in content creation. I hope lots of people find your help.

kayboy
Автор

how do you make that chart in your app? nice video btw... im new to this heh

astreax
Автор

Great video! just wondering if there's any way to add a small peek to the next item in the scrolling list?

IIJKII
Автор

This is awesome. I love your teaching style, and your videos are always on point.

So the big question for me becomes when should I start adopting iOS 17 API changes? Should I just dive in right away now that it's public, or should I wait? What is adoption like a week after release? I don't know how to check these things, but that's OK. I feel like I should assume most iPhone users will upgrade quickly, most likely. It's a little hazier when I want to also publish a Mac Catalyst version, because stuff like SwiftData and these new features won't run on Sonoma, and I don't know if people upgrade their Macs straight away.

TVsBen
Автор

Ready to use in your projects by 2025 :D :D

raulbatista
Автор

Sean, have you done a deep dive into swift data? i’m having some issues now with the model controller.

Trying to get my first app on the App Store. These errors are killing me.

chezchezchezchez
Автор

At times, it may not line up perfectly. To observe this, test it on an iPhone and try swiping your finger back and forth very quickly. When you release your finger, you'll notice it.

kdtechniquesofficial
Автор

Do you have somthing simular but for ios 15?

WattsnabbAB
Автор

This is awesome. However, when I attempt to use it in my project I am getting the error: is only available in iOS 17.0 or newer.

There's a couple of fix options:
- Add 'if #available' version check
- Add @available attribute to enclosing property
- Add @available attribute to enclosing struct

So does this mean if the running user's device is not on iOS 17 then this feature is essentially not accessible for them? Personally, I want to code 1 thing and not have to incorporate checks to see if they are on iOS 17 and if they aren't then have to code a different feature for those users.

BrEd-
Автор

does this work in vertical lists also?

dhedges
Автор

Has anybody else gotten this to work? When I try I get 2 errors on line 19 with Sean's code: Cannot infer contextual bas in reference to member 'horizontal' & Value of type 'Circle' has no member 'containerRelativeFrame'... bummer I really wanted to play around with this.

who.is.dayton-chfb
Автор

Now most apps build with swif and swiftui instead of uikit ...please slove this quieres

umarparacha
Автор

It looks cool, but SwiftUI is not popular in production. Targets are still below 15, so you dont have that fansy staff, you may do it yourself or die)))

Stricken
Автор

What's not amazing is that most of us cannot raise the min ios version to 17.

GoeHybrid