SwiftUI Tutorial: Glassmorphism UI Design

  Рет қаралды 8,917

Logan Koshenka

Logan Koshenka

Күн бұрын

With only SwiftUI basics and no UIKit elements, this tutorial shows you how to create glassmorphism in xcode. By using a zstack to create layers then manipulating opacity levels, we are able to create the frosty glass effect. Glassmorphism is a recent UI design trend that has gained popularity on design platforms such as Figma and Dribbble.
This tutorial uses Xcode 12 and Swift 5.
View the source code on GitHub: github.com/Koshenka27/Glassmo...
For those interested in learning iOS Development, this is what I recommend: gumroad.com/a/793351283
Instagram: / logankoshenka
Twitter: / logankoshenka​
#SwiftUI #Tutorial #Glassmorphism
The video and description may contain affiliate links. If you click on a link and make a purchase, I may receive a commission. Money earned helps to support my channel.

Пікірлер: 46
@DaveJacobseniOS
@DaveJacobseniOS 3 жыл бұрын
Loving to content Logan! Never messed around with glassmorphism so thanks for the walkthrough!
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
I appreciate that, glad you like it!
@maximilian.maksutovic
@maximilian.maksutovic 3 жыл бұрын
This was so great! Can't wait for more, thanks so much :D
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
Thanks - glad you like it!
@LegendaryArchives
@LegendaryArchives 3 жыл бұрын
nice job , watched all your videos! It really helps me a lot to get start
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
Thanks so much - glad you like them!
@crackvase
@crackvase 2 жыл бұрын
hey dude please keep up the good work , learning a lot from your videos , thank you
@morelogankoshenka
@morelogankoshenka 2 жыл бұрын
thank you 🤝
@divyamsolanki419
@divyamsolanki419 3 жыл бұрын
Loving the Glassmorphism, wanted to do it in Xcode also, been doing it in Figma for a long time!
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
Glad you like it!
@SebastiansBlog23
@SebastiansBlog23 3 жыл бұрын
Good Job 8-) please more
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
thank you :D
@KelKrom
@KelKrom 3 жыл бұрын
JAJAJA, you're funny, your teaching is pretty good, I've already subscribed and following on twitter.
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
hahaha I appreciate it!
@nazarbabiak6138
@nazarbabiak6138 2 жыл бұрын
You're the best😁
@morelogankoshenka
@morelogankoshenka 2 жыл бұрын
thank you!
@CtrlAltMike
@CtrlAltMike Жыл бұрын
For everyone following along, "Color Literal" (mentioned first at about the 3:45 mark,) is no longer available in Xcode.
@morelogankoshenka
@morelogankoshenka Жыл бұрын
this is my biggest complaint! there are a couple weird workarounds but I’m really hoping it comes back
@CtrlAltMike
@CtrlAltMike Жыл бұрын
@@morelogankoshenka Yeah, it really sucks. Seriously useful utility - hope they work the bugs out. (Apparently it's been a thorn for them for a very long time.)
@danvilela
@danvilela Жыл бұрын
Hey bro, Im a Flutter developer but this Swift UI thingy seems fascinating. Do you have opinions comparing both frameworks? Would be cool to know. Thanks.
@morelogankoshenka
@morelogankoshenka Жыл бұрын
Man I’m sorry but I don’t know a lot about Flutter other than the fact that I know comparisons are made between the two! Thank you for watching though 🤝
@danielduggin2898
@danielduggin2898 Жыл бұрын
On xcode 14.2, color literal is not recognized for some reason, any suggestions?
@morelogankoshenka
@morelogankoshenka Жыл бұрын
I know … I miss it so much … there is a hacky way of initializing it differently and then just copying & pasting that as needed, let me try to find it
@morelogankoshenka
@morelogankoshenka Жыл бұрын
oh wow I think I just figured it out hahahah type #colorLiteral ... that worked for me ... thank you for this comment!!!
@andrejkling3886
@andrejkling3886 3 жыл бұрын
Good corner of the view...
@DEERAF2k
@DEERAF2k 3 жыл бұрын
Would this be possible with programmatic UI?
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
Yes - while it would definitely be more code and a little tedious, I don’t see why not.
@myga77
@myga77 3 жыл бұрын
you're good at this bro, keep going ur new fan from russia😄
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
thanks so much!
@jxzn
@jxzn 2 жыл бұрын
is colorLiteral broken on XCode 13?!?!
@morelogankoshenka
@morelogankoshenka 2 жыл бұрын
yes I’m furious about it!!!
@benecc
@benecc 2 жыл бұрын
There is much simpler solution nowadays, just use color .ultraThinMaterial as a background and it will blur what's behind and be a bit transparent by itself while being coherent with system light / dark theme, result is real good by default
@morelogankoshenka
@morelogankoshenka 2 жыл бұрын
haha that’s what I did in part 2 😄 definitely easier and looks better imo
@benecc
@benecc 2 жыл бұрын
@@morelogankoshenka oh my bad didn’t see this part
@morelogankoshenka
@morelogankoshenka 2 жыл бұрын
no worries! but yes I made this video before the material backgrounds were available! this was sort of my workaround
@jibo9996
@jibo9996 Жыл бұрын
Can you apply this to text views?
@morelogankoshenka
@morelogankoshenka Жыл бұрын
yes! replied to your DM 😁
@jibo9996
@jibo9996 Жыл бұрын
@@morelogankoshenka Thank you 😀
@KimbrellBrad
@KimbrellBrad 2 жыл бұрын
I did not like this ... I loved it! Very cool and really appreciate your style of playfulness LOL. I enjoy most of SwiftUI coding and this is really inspiring!
@morelogankoshenka
@morelogankoshenka 2 жыл бұрын
Haha thanks so much!
@Dominik3332
@Dominik3332 3 жыл бұрын
"Do i get some sort of reward for making this beautiful screen? beceause i should!" :D --> TRUE!
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
😂
@Dominik3332
@Dominik3332 3 жыл бұрын
@@morelogankoshenka really nice video btw!
@morelogankoshenka
@morelogankoshenka 3 жыл бұрын
@@Dominik3332 thanks so much - means a lot :D
@SOK-gn6hw
@SOK-gn6hw 2 жыл бұрын
your Xcode is skew
@morelogankoshenka
@morelogankoshenka 2 жыл бұрын
hell yeah it is
SwiftUI MVVM Tutorial: Simple Example with ObservableObject
12:43
Logan Koshenka
Рет қаралды 19 М.
SwiftUI Glassmorphism Tutorial with iOS 15, Shapes & Gradients
18:50
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 7 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 191 МЛН
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 10 МЛН
Easy SwiftUI Animation Tutorial with 3 Examples
12:24
Logan Koshenka
Рет қаралды 22 М.
App Devlog 1 - What Could Possibly Go Wrong?
14:08
Logan Koshenka
Рет қаралды 617
The Complete Guide to NavigationView in SwiftUI
39:18
Paul Hudson
Рет қаралды 129 М.
5 levels of UI skill. Only 4+ gets you hired.
11:05
Malewicz
Рет қаралды 426 М.
SwiftUI New Button Styles | iOS 15
6:26
Sean Allen
Рет қаралды 13 М.
App Devlog 2 - Sketching My App's Design
9:22
Logan Koshenka
Рет қаралды 331
SwiftUI List with Custom Cell & Passing Data
36:27
Sean Allen
Рет қаралды 115 М.
Picker and PickerStyles in SwiftUI | Bootcamp #38
19:56
Swiftful Thinking
Рет қаралды 36 М.
I Built the World's Most Sarcastic Motivation App
10:39
Logan Koshenka
Рет қаралды 579
Лучший браузер!
0:27
Honey Montana
Рет қаралды 255 М.
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 2,1 МЛН