Skip to content

livefront/minnebar-2023-swift-ui-magic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🪄 SwiftUI Magic: Advanced Techniques for Complex Interfaces.

by Tyler Johnson & Paul Himes for Minnebar 17 April 22nd 2023

SwiftUI has revolutionized the way developers create user interfaces for Apple’s platforms. Its declarative API makes it fast and simple to build most common UI designs. However, as applications become more complex, developers may find themselves fighting the system to create truly unique and dynamic interfaces.

In this talk, we covered some of the techniques we’ve used in our projects to achieve custom UI designs. We used animation to add whimsy, implemented custom view alignment, created a new layout container, responded dynamically to user interaction, and improved navigation with custom transitions. With these tools you’ll be able to confidently tackle many types of custom interfaces in your SwiftUI apps.

Requirements:

  • iOS 16+
  • Xcode 14.3+

Bubble Animation

Add whimsy with animated profile bubbles.

An app title screen with circular profile images floating by like bubbles.

Notable Files


Custom Alignment and Layout

Align views to a custom vertical postion.

An app title screen with the title aligned 2/3 of the way down.

Notable Files


Sticky Footer

Read and respond to the frames of SwiftUI Views to create a footer label that sticks to the bottom of the screen.

A list of talks being scrolled. The footer label is stuck to the bottom but pushed out of the way when the content approaches.

Notable Files


Custom Transition

Add a custom animated transition when navigating between screens.

A list of talks with one talk expanding to fill the screen when it is tapped.

Notable Files


Other Helpful Links

About

The example app for the 2023 Minnebar Talk: Swift UI Magic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages