How to use neumorphism in SwiftUI

Sdílet
Vložit
  • čas přidán 12. 06. 2024
  • Get my finished code: github.com/twostraws/Neumorph...
    Neumorphic design is easily the most interesting design trend of recent months, although to be fair Apple did use it as their design motif way back in WWDC18. In this video we’re going to look at how you can build neumorphic designs using SwiftUI, why you might want to, and - most importantly - how we can modify those designs to be more accessible.
    Questions? Comments? Tweet me @twostraws.
  • Věda a technologie

Komentáře • 76

  • @toadlguy
    @toadlguy Před 4 lety +12

    It seems strange to me that you have so few views. You are simply producing the best, timely and easy to follow programming videos on CZcams. So, thank you for that!

  • @bigmtnstudio
    @bigmtnstudio Před 4 lety +33

    Great job, Paul, bringing this style to life and taking it to the next level! 👍 Great solutions! Man, I love SwiftUI. 💙

  • @clickbaitking6770
    @clickbaitking6770 Před 4 lety +5

    I’ve literally been working on this for a week now, this is the greatest gift you could give me!

  • @celmarostaff
    @celmarostaff Před 4 lety

    As always an excellent informative video.👏 I am more than glad to be able to support you on Patreon. Keep up the great work !!!

  • @ruptapas
    @ruptapas Před 4 lety +2

    Nice one Paul, liked the way you conveyed your thoughts on this new design trend.

  • @raquelaranda6687
    @raquelaranda6687 Před 4 lety

    Muchas gracias por tus vídeos, Paul. En estos días de confinamiento estoy aprendiendo algo de diseño. Espero que tú y los tuyos estéis bien.

  • @3monsterbeast
    @3monsterbeast Před 3 lety

    Loving it, would love a full course on Neuomorphic design!

  • @alexitosworld
    @alexitosworld Před 4 lety

    Really good video Paul! I loved the style and the long takes.

  • @ian7666
    @ian7666 Před 4 lety +1

    Beautiful UI, and the accessibility additions definitely improve UX whilst retaining the neumorphic design brief. Thanks a lot Paul, and for the tip on using mask, which I haven't used before. This is very timely for me, as I'm experimenting with neumorphic designs for my app's web version, and would like to carry the design through to my SwiftUI version of the app.

  • @ed6393
    @ed6393 Před 4 lety +2

    High quality content as usual. Neumorphism is certainly the design trend of the moment but I’m doubtful that it will catch on.

    • @ian7666
      @ian7666 Před 4 lety

      Unless Apple uses it in iOS14... certainly a nice theme option to offer your app users

  • @gettingschwifty2112
    @gettingschwifty2112 Před 4 lety +1

    Love this! I saw this trend going around and even tho UX is not that good with it, its a nice style to try out!

  • @priyamagarwal9547
    @priyamagarwal9547 Před 4 lety +8

    I was just seeing all these designs on Dribbble and was wondering how it can be achieved in SwiftUI.
    Thanks for the amazing content as usual

  • @Cillitbaaang
    @Cillitbaaang Před 4 lety +1

    Nice one! Also i learned a lot on how to code more efficiently😊. Thanks!

  • @richardhasson265
    @richardhasson265 Před 4 lety +1

    Fantastic video as usual, Paul.

  • @kishanvaghela9942
    @kishanvaghela9942 Před 4 lety +4

    Ohh man its hard to even explain!! But you are a hack of developer! Great things to learn...

  • @holgermayer7076
    @holgermayer7076 Před 2 lety

    This is one excellent tutorial I could put into good use instantaneously. Thank you!

  • @chrispy104k
    @chrispy104k Před 4 lety +1

    Great stuff Paul. They look awesome.

  • @timgattermann5974
    @timgattermann5974 Před 4 lety +1

    I am more and more impressed what is possible. Really great. Thanks a lot.

  • @Aiiboo
    @Aiiboo Před 4 lety +1

    First video content, that’s I like.. thumbs up

  • @Simon-ro8nh
    @Simon-ro8nh Před 3 lety

    Amazing tutorial! Great content! Thank you Paul!

  • @DimNovo
    @DimNovo Před 4 lety

    Great tutorial!!
    Interesting design and excellent programming style -
    - just like everything you do. 👏🏻👍🏻👏🏻

  • @paulraggett7837
    @paulraggett7837 Před 4 lety +1

    Excellent as always. Thank you.

  • @OleRene
    @OleRene Před 3 lety

    Brilliant work - I will go experiment with these concepts. Thanks a lot!

  • @andonidasilvaotero9652
    @andonidasilvaotero9652 Před 4 lety +1

    Thank you Paul. This is awesome

  • @makwanbarzan7085
    @makwanbarzan7085 Před 4 lety

    Love this one! really enjoyed it! 👍🏻

  • @ayushthummar3309
    @ayushthummar3309 Před 2 lety

    How this video has only 29K views?? It's so good

  • @martinkowollik1432
    @martinkowollik1432 Před 3 lety

    This is really great. Thanks a lot, Paul!

  • @ashh.7234
    @ashh.7234 Před 3 lety

    Thank you so much, Sir!
    You’re the best!

  • @Kaan-qr5pv
    @Kaan-qr5pv Před 3 lety

    Amazing video and tutorials! Thanks so much!

  • @erickbarbosa5476
    @erickbarbosa5476 Před 4 lety +2

    Thanks Master, did anyone notice there were no ads?

  • @undead-pixl
    @undead-pixl Před 4 lety +2

    Just love this trend! :) More of a gimmicky thing but i had to add it to a simple app i have been working on, just for funzzies :)

  • @yoellev5191
    @yoellev5191 Před 4 lety

    Great tutorial Paul, thank you. Boom!

  • @codeoncloudtv7193
    @codeoncloudtv7193 Před 3 lety

    thank you so much for your contribuition

  • @Sasha-hg2jd
    @Sasha-hg2jd Před 4 lety +1

    Thanks Paul! SwiftUI awesome.

  • @artsem4764
    @artsem4764 Před 4 lety +1

    As usual, a very cool video.
    Does a large number of shadows and gradients affect the app's performance?
    SwiftUI guarantees us a stable 60fps?

  • @amjadshadid90
    @amjadshadid90 Před 4 lety

    Professional Work👌

  • @wandering_prince
    @wandering_prince Před 4 lety

    Awesome vid!

  • @Kill_the_orcs
    @Kill_the_orcs Před 4 lety +1

    Brilliant. Thanks!!!

  • @tharindudarshana6480
    @tharindudarshana6480 Před 3 lety

    Another great tutorial

  • @tinyEnglish
    @tinyEnglish Před 3 lety

    This is just like when we were using dos, and the first time we find windows, and we try to make a dos UI app look like windows app.

  • @pastpianist
    @pastpianist Před 4 lety +1

    "Boom". Great vid

  • @stoocollins7428
    @stoocollins7428 Před 4 lety

    Great video Paul. Personally I don't like this neumorphism look (pretty sure we've seen this trend a good few years ago on the web) but great to hear you warning others about accessibility.

  • @christiansimbarashe
    @christiansimbarashe Před 2 lety

    Thank you so much. Really helped me understand what the alpha opacity is in the mask(_:) function

  • @BjrnRuthberg
    @BjrnRuthberg Před 4 lety

    Great video. I'm new to this channel, but I see you have a lot of useful stuff here. Any tip on how to have a view select ButtonStyle based on @Environment(\.colorScheme)?

  • @tatewrigley8026
    @tatewrigley8026 Před 4 lety +1

    This is amazing

  • @kimberlywhite8399
    @kimberlywhite8399 Před 4 lety

    Hello I love your videos and articles, it actually helped me write my first piece of code after struggling, can you please make a video creating a google like search bar please?

  • @multitudes389
    @multitudes389 Před 4 lety

    lovely. cant stop toggle that button 😄

  • @krutomjer
    @krutomjer Před 4 lety +1

    Great video Paul, thanks for the hard work. In toggle I can't seem to make it trigger any action. $isToggled doesn't trigger the willSet or didSet, and onTapGesture doesn't trigger either. I've even tried downloading the example code from github with same results. Any suggestions maybe ?

  • @rasheshbosamiya1482
    @rasheshbosamiya1482 Před 4 lety +1

    Awesome!

  • @platin2148
    @platin2148 Před 4 lety +1

    Would be interesting to see how one could implement a view stack e.g user goes to different view current view is pushed on the stack if user wants to go back he clicks on the button and the view gets pop’ed.

  • @marcoraap733
    @marcoraap733 Před 2 lety

    thx so much. best button ever :)

  • @Joeron79
    @Joeron79 Před 3 lety

    Damn!!! You're monster hack... Nice!!

  • @sahilaujla
    @sahilaujla Před 3 lety

    Hey Paul, Please Make a video on "How to use Glassmorphism in Swift UI"...

  • @HungNguyen-oz1jc
    @HungNguyen-oz1jc Před 4 lety

    Does this apply to any kind of shape? I changed the property from Circle() to Rectangle() and it does not work and display as the same as Circle

  • @user-ry6ix2mr8y
    @user-ry6ix2mr8y Před 4 lety +1

    miss you)

  •  Před 4 lety +1

    Nifty 😉

  • @skiphanson5020
    @skiphanson5020 Před 4 lety

    Great video, thanks Paul.
    I am seeing a compile error for the Button Style structs. XCode says: "Inheritance from non-protocol type 'ButtonStyle'.

    • @skiphanson5020
      @skiphanson5020 Před 4 lety

      Weird...I looked up ButtonStyle and it is a protocol.

    • @skiphanson5020
      @skiphanson5020 Před 4 lety

      Ugh. NVM, I declare a view modifier with the name ButtonStyle...derp.

  • @JeffKelley
    @JeffKelley Před 4 lety

    It’s interesting that the shadows’ horizontal offsets are in terms of X, but the linear gradient is in terms of leading/trailing. Would that flip the gradient (but not the shadow) for right-to-left interfaces?

    • @twostraws
      @twostraws  Před 4 lety +1

      Yes. Really I should have used a custom UnitPoint there, but I think I'd much rather see left and right added for exactly these cases.

    • @JeffKelley
      @JeffKelley Před 4 lety

      @@twostraws Now I want to see someone do a neumorphism style that automatically adjusts the position of the shadows based on the time of day and your location around the globe. :)

  • @farhanyousaf5616
    @farhanyousaf5616 Před 4 lety

    Very cool, and I am not even a Swift programmer.

  • @LUKAS-bb4jc
    @LUKAS-bb4jc Před 4 lety

    Can you check wether dark mode is on or not in swift ? Like with an if statement ? Thanks

    • @twostraws
      @twostraws  Před 4 lety +1

      Here you go: www.hackingwithswift.com/quick-start/swiftui/how-to-detect-dark-mode

  • @gabrielrml
    @gabrielrml Před 2 lety

    Design: Form or function? Comment

  • @artit91
    @artit91 Před 4 lety

    The proof of you can write objective c in any programming language.

  • @jeje0804
    @jeje0804 Před 4 lety

    do you have a discord/slack server?

  • @krutomjer
    @krutomjer Před 4 lety

    The P is silent in Pneumorphism

  • @THE_ONLY_GOD
    @THE_ONLY_GOD Před 2 lety

    "To be fair", look at the softimage XSI GUI

  • @adriangutierrez9812
    @adriangutierrez9812 Před rokem

    Unfortunately, this is being deprecated in iOS 16

  • @nitramluap
    @nitramluap Před 4 lety

    I'll just wait until their APIs automatically add the support into iOS (? iOS 14). If you don't do anything funny you'll just get it for 'free', including accessibility features, and you won't need to go back & fix it 😉 (but cool tutorial!)

  • @aikeber1984
    @aikeber1984 Před 3 lety

    Why do you block the preview with your own video😂

  • @llothar68
    @llothar68 Před 3 lety

    UX gets worse and worse, thats all i have to say about this neumorphism.