SwiftUI Tutorial: Building a Ridiculously Over-the-Top Squishy Toggle - Part 1

preview_player
Показать описание
SwiftUI Tutorial: Building a Ridiculously Over-the-Top Squishy Toggle - Part 1

In this series we're going to be creating a ridiculously over-the-top squishy toggle. We’re going to be covering a lot of ground over this series so there’s loads to learn.

In this episode, we’re going to build the frame for the toggle and lay the foundation for the rest of the project.

Source code for this episode:

Native version of source code:

Layout Guide playlist:

================

PureSwiftUI is a free Swift Package that includes a multitude of useful extensions and properties to make your life easier with SwiftUI resulting in cleaner code that takes less time to write.

It's a huge time-saver so I do encourage you to check it out.

You can get PureSwiftUI here:

Check out PureSwiftUITools for additional SwiftUI utility type things:

If you want to ask me a question or follow me for updates, you can do so on Twitter:

FAQs:
Q: What are the code callouts I sometimes see in the code?:
A: I code in SwiftUI using the PureSwiftUI framework since I created it to make code more concise and easier to read. However, I understand that not everyone wants to install a swift package (although, you'd be mad not to ;o)) so unless otherwise stated, the popups will detail the native SwiftUI equivalent of the code in question.

Q: What's that theme you're using?
A: It’s a modified version of MoodNight v2. If you like it, you can download it here:
Рекомендации по теме
Комментарии
Автор

perfect but I couldn't find PureSwiftUI library

abdullabardiyev
Автор

Thank you Adam... you are magic man 💫👏🙌

andrejkling
Автор

Can we only draw a quarter in a for loop?

Nick-gjgz