Building Grids in SwiftUI 2.0 for iOS 14

  Рет қаралды 44,332

Paul Hudson

Paul Hudson

Күн бұрын

Пікірлер: 81
@developerfriendly
@developerfriendly 4 жыл бұрын
You are one of the best teacher in swift community, I learned a lot from you. Thanks for everything.
@brunomj1997
@brunomj1997 4 жыл бұрын
I can agree as well thank you master
@YahelSiah
@YahelSiah 4 жыл бұрын
Hello
@leromt
@leromt 4 жыл бұрын
Paul, it is VERY impressive to see how quickly you are able to absorb and understand all the new features AND grasp them so well that you can demonstrate them. Well done!
@superjkmax88
@superjkmax88 4 жыл бұрын
When I heard you say "straight to the code" in the first 10 seconds, I literally stopped the video to press the Subscribe button! Also, you've a really good teaching style.
@bigmtnstudio
@bigmtnstudio 4 жыл бұрын
This is my favorite feature in SwiftUI 2.0 so far. Thanks for the overview!
@teamspirit6400
@teamspirit6400 4 жыл бұрын
Same here Mark 😁
@ReflectingMe2024
@ReflectingMe2024 3 жыл бұрын
Paul - have to say you are an astounding presenter; your clarity, precision and brevity are spot on, and I love the fact you neither include or tolerate any bs (including on your YT streams 👍). Your videos are providing me with nearly all the information I need. Your knowledge is just incredible, and the way you explain how to use Swift features is top notch. The only criticism I have is that it appears to take me an hour what you are able to do in just 30 seconds. 😂 Thanks.
@MaxRovensky
@MaxRovensky 4 жыл бұрын
FINALLY THEY ADDED GRIDS
@guitaripod
@guitaripod 4 жыл бұрын
Thank you, Paul. This is insane... This is something else. Can we officially call this SwiftUI 2.0?
@yoelcera243
@yoelcera243 11 ай бұрын
First, great video. how you explain the info makes it easy to digest. (click on show more, please.) Secondly, I coded a grid with a bunch of different images from an array, and the thing is that I want each image to be a button that takes you to another view when clicked. let's say, the images within the grid are from famous US' places and if you clicked that image(which is a button) takes to a view that show all the info about the place, etc. If anyone can help thanks, nice day
@testyacy2600
@testyacy2600 4 жыл бұрын
It was Very helpful, clearly understood about how to use the Grid using SwiftUI 2.0, ur explanation and presentation is awesome crisp and clear, Thank You very very much for this video
@Marvelus2009
@Marvelus2009 4 жыл бұрын
I love how excited you are about the new stuff, thank you Paul
@anotherguycalledsmith
@anotherguycalledsmith 4 жыл бұрын
In those awful new Apple Developer Forums, your name was mentioned as the first and best source to turn to when starting app developing on Apple devices. I felt free to stress how good you are and how much you like SwiftUI ;-) Thanks a lot for being so close to the latest WWDC20 SwiftUI developments… See you!
@chrispy104k
@chrispy104k 4 жыл бұрын
Thanks Paul. Finally we have a collection view of sorts.
@Bhaukaal-YT-001
@Bhaukaal-YT-001 4 жыл бұрын
Your video are my first preference for SwiftUI.
@someman7
@someman7 4 жыл бұрын
That's nitce, but the real question is how much time it would take to align the items at 7:40 so that regardless of the number of rows of text, the icons align. Or indeed, if that's possible...
@JasonMitchellAZ
@JasonMitchellAZ 4 жыл бұрын
Awesome demo, already... Thanks, Paul!
@brettkoster3039
@brettkoster3039 4 жыл бұрын
Af of writing I couldn't find the Decode link in the description, but I found it on his website! Here's the link www.hackingwithswift.com/example-code/system/how-to-decode-json-from-your-app-bundle-the-easy-way
@fouzaanahmed8343
@fouzaanahmed8343 4 жыл бұрын
you are the best sir your videos help everyone thank you soo much
@dannyc9252
@dannyc9252 4 жыл бұрын
At 5:30 the first few capsul are completely round, while around item 10 they start to get stretched out. Does anybody know why this happens?
@jensonjohn
@jensonjohn 4 жыл бұрын
I think that is because of the Text content.. As the text content grows it may take upto 80 width.
@dannyc9252
@dannyc9252 4 жыл бұрын
Jenson John thank you! This explains it
@bigmtnstudio
@bigmtnstudio 4 жыл бұрын
I believe it's because the text below the Capsule is longer ("Item 10") so the available space the Capsule can stretch is wider.
@waltersumofan
@waltersumofan 4 жыл бұрын
maybe cell formatting to the largest cell? or text size?
@francescofuscaldo837
@francescofuscaldo837 4 жыл бұрын
Hello, I'm a great fan of you channel. I gotta a suggestion for a video, what about converting iOS 13 widget to the iOS 14 version? It would be interesting to understand how much time it can take and if it is possible. Thank you for your amazing work!
@MauricioChavesDias
@MauricioChavesDias 3 жыл бұрын
So good teacher. Apple invest on this guy to teach us haha
@nirbarzilay6947
@nirbarzilay6947 3 жыл бұрын
Great explenation! thank you
@Ninerpack
@Ninerpack 3 жыл бұрын
Do you think you could do a video on recreating the 1010! puzzle game?
@dambar011
@dambar011 4 жыл бұрын
I am getting good at UIKit and also observing SwiftUI
@alexbour777
@alexbour777 4 жыл бұрын
Very nice ! Is-it possible to manage offsets, cutomize the layout on the grid ? For example, alternate rows with an offset of 50px 1 row / 2 ?
@BABEENGINEER
@BABEENGINEER 2 жыл бұрын
Love this video
@Shqtucke
@Shqtucke 4 жыл бұрын
Great work!!! Thanks Paul
@Lammax2012
@Lammax2012 4 жыл бұрын
Btw, can't find links to the Bundle extension & symbols-JSON =(
@charlie1105
@charlie1105 Жыл бұрын
Why does every tutorial on this deal with a nice neat list of items that exactly fills the columns? Dozens of tutorials covering this, but none dealing with real world scenarios where the number of items might not fit neatly, and we need to center the last item(s)
@tharindudarshana6480
@tharindudarshana6480 4 жыл бұрын
Just simple and amazing
@mofawaw8114
@mofawaw8114 4 жыл бұрын
Hey Paul, thank you so much! May I ask you if it is possible to reorder the items inside these grids using drag and drop?
@imran1hossain
@imran1hossain Жыл бұрын
Unable to find the code in description
@anugrahdev3707
@anugrahdev3707 3 жыл бұрын
how to make staggered grid ?
@ikennaojukwu3532
@ikennaojukwu3532 4 жыл бұрын
You’re breathtaking!
@pickemparty
@pickemparty 3 жыл бұрын
So is it possible to have both a horizontal and vertical scrolling list? I need the horizontal scroll as the list I would like to display will not fit in the screen, and I need the vertical scroll as there maybe hundreds of users that i need to display their list of picks? How can I do that?
@dlbYT8
@dlbYT8 3 жыл бұрын
Hi Paul, how can we achieve variable GridItem widths depending on the content inside them ? Such as tags view
@siyangren6663
@siyangren6663 4 жыл бұрын
I really like the content you sharing so, I comment to increase the chance that KZbin recommends the video...
@dsaliberti
@dsaliberti 4 жыл бұрын
Thanks Paul 🚀
@_X2b4_
@_X2b4_ 4 жыл бұрын
Can you have a hierarchical grid? Row 1 one cell, row 2 with 2 cells, row 3 with 3 cells to to row 8 with eight cells?
@HarshVaghelaiosdeveloper
@HarshVaghelaiosdeveloper 4 жыл бұрын
Thanks a lot
@waltersumofan
@waltersumofan 4 жыл бұрын
That was quick!
@iQQator
@iQQator 3 жыл бұрын
Hi Paul, how to build more complexity interface with grids ?) I have trouble with LazyHGrid and autosize view where placed in. My inner view contains one VStack with two Text items, but when I place this horizontal scroll collection inside to vertical scroll collection, my text clipped and won't growing when change accessibility settings :)
@jocimusic3660
@jocimusic3660 4 жыл бұрын
Is it any way to make a Vertical grid and have a fixed spacing between columns? Only become fixed spacing on rows for me when doing a grid with a custom shape
@joevanniparairo1129
@joevanniparairo1129 4 жыл бұрын
Still have to update to latest Xcode. Question is, will this compile for iOS13?
@makwanbarzan7085
@makwanbarzan7085 4 жыл бұрын
Thanks Paul!
@810602jay
@810602jay 4 жыл бұрын
How to get the json file of SF Symbol ?
@petersuvara
@petersuvara 4 жыл бұрын
Hmmm looks like an ideal candidate for code generated views from some simple control values. White label heaven!
@ضدالظلم-د4ح
@ضدالظلم-د4ح 4 жыл бұрын
Thank you so much ☺️ U r awesome 👏🏽
@gabrielesabatino5879
@gabrielesabatino5879 4 жыл бұрын
why I can't see GridItem?
@Screonizma
@Screonizma 4 жыл бұрын
Can we use it on iOS 13?
@bluestarxd22
@bluestarxd22 4 жыл бұрын
Does this work with iOS 13? Or is everything new in SwiftUI 2.0 only for iOS 14?
@Xaxxus
@Xaxxus 4 жыл бұрын
Unfortunately only iOS 14
@deepseadiver971
@deepseadiver971 3 жыл бұрын
I'm loading data in from FireStore, the "lazy" part makes my app look glitchy/frozen-like when scrolling down.. Is it possible to create a VGrid "without the lazy functionality"?? (iOS 14) If not, any suggestions other than ditching the Grid look altogether for a VStack?
@24prasannaballal
@24prasannaballal 4 жыл бұрын
super!!
@judy8821
@judy8821 4 жыл бұрын
Wonderful!
@adamhowley8037
@adamhowley8037 4 жыл бұрын
3:39 4:08 4:46 5:18 6:30 7:07 7:24 7:36 “Boom! “ Please don’t stop saying it
@jensonjohn
@jensonjohn 4 жыл бұрын
That's coooolll.. 💙💙❤️
@travelsuperyoutubechannel9474
@travelsuperyoutubechannel9474 2 ай бұрын
Nice
@prod.kashkari3075
@prod.kashkari3075 4 жыл бұрын
Can we update Xcode as of now? Like is that update there yet? I can’t seem to find it
@christinadyrehauge1292
@christinadyrehauge1292 4 жыл бұрын
I have the same problem :/
@noedelacroix9207
@noedelacroix9207 4 жыл бұрын
Still in beta gotta download it from the Apple developer website
@christinadyrehauge1292
@christinadyrehauge1292 4 жыл бұрын
@@noedelacroix9207 Oh thanks! :D
@Lammax2012
@Lammax2012 4 жыл бұрын
Thanks a lot! =)
@moosegoose1282
@moosegoose1282 4 жыл бұрын
tyty
@Luksans
@Luksans 4 жыл бұрын
It's so satisfying to watch how he codes and how xcode auto completes it ಠ ͜ʖ ಠ
@gabrielros1
@gabrielros1 4 жыл бұрын
👏🏻👏🏻👏🏻
@hoagy_ytfc
@hoagy_ytfc 4 жыл бұрын
Boom!
@strzempa
@strzempa 4 жыл бұрын
a bit easier than UIKit 😅
@yixe2253
@yixe2253 4 жыл бұрын
Am I the only one that hates the Lazy keyword?
@gevorgnikoghosyan7252
@gevorgnikoghosyan7252 4 жыл бұрын
why apple forces this crap( UIKIT is the best! Paul nobody need this swift UI all big companies hanging on UIKIT and at least 3 years experts will be needed in UIKIT) lets do something awesome in storyboard ) have fun build something ) stop videos about this hell please)
@jarnleikr
@jarnleikr 4 жыл бұрын
Yes UIKit is more mature, more feature rich, and more adapted at the present time. But SwiftUI will eventually phase out UIKit for several reasons; one codebase for iOS, iPadOS and macOS apps is the main reason. The speed and ease that you can make an app with SwiftUI is another, it will significantly reduce the bar for people new to programming. And more time for UI refinements and rapid prototyping. And more.... So why not embrace both UIKit and SwiftUI, you're going to need both the next couple of years. :-)
@chrispy104k
@chrispy104k 4 жыл бұрын
Your sarcasm is noted.
@IcheVonB
@IcheVonB 3 жыл бұрын
O venerable God of Swift, thank you for sending your Archangel St. Paul here to earth to teach us the way
What's new in SwiftUI for iOS 14 - Extended Edition
1:22:47
Paul Hudson
Рет қаралды 39 М.
8 Common SwiftUI Mistakes - and how to fix them!
28:05
Paul Hudson
Рет қаралды 50 М.
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
Build your next website in Swift
24:45
Paul Hudson
Рет қаралды 46 М.
The Complete Guide to NavigationView in SwiftUI
39:18
Paul Hudson
Рет қаралды 131 М.
5 Steps to Better SwiftUI Views
31:19
Paul Hudson
Рет қаралды 56 М.
How I'd learn ML in 2025 (if I could start over)
16:24
Boris Meinardus
Рет қаралды 22 М.
24 Xcode Tips in 15 Minutes
15:30
Paul Hudson
Рет қаралды 74 М.
SwiftUI 2.0: MVVM - A Practical Approach
14:28
BeyondOnesAndZeros
Рет қаралды 32 М.
How to use phantom types in Swift
25:00
Paul Hudson
Рет қаралды 14 М.