• Software
  • Blog
  • About
Menu

Dabbling Badger

Street Address
54455
Phone Number

Your Custom Text Here

Dabbling Badger

  • Software
  • Blog
  • About

Overlapping Navigation Titles In SwiftUI

December 12, 2020 Jonathan Badger
Photo by Brendan Church on Unsplash

Photo by Brendan Church on Unsplash

Navigation stacks are a fundamental user interface component in iOS. We use them everyday as we tap in and out of messages in Mail, search our contacts to make a phone call, and adjust the settings on our phones. Being so crucial to the user experience, I was a bit surprised to find a navigation related bug in SwiftUI. Navigation titles from dismissed views were piling up at the top of the navigation bar in an overlapping mess. What the heck?! Here, we will go over sample code that both recreates this behavior and demonstrates current fixes.

Read more
In Programming Tags iOS, SwiftUI, Bug
2 Comments

Dismissing The Keyboard In SwiftUI 2.0

November 5, 2020 Jonathan Badger
Photo by Justus Menke on Unsplash

Photo by Justus Menke on Unsplash

SwiftUI, Apple’s declarative framework for rapid user interface development, is an awesome alternative to UIKit, but still missing some key features. Here, I will discuss a few of the common issues surrounding keyboard dismissal and provide two solutions and workarounds that I have found after an embarrassing amount of googling and combing of StackOverflow.

Read more
In Programming Tags iOS, SwiftUI, User Interface
9 Comments

E-mail: dabblingbadger@gmail.com

Copyright © 2023 Dabbling Badger LLC

POWERED BY SQUARESPACE