• Software
  • Blog
  • About
Menu

Dabbling Badger

Street Address
54455
Phone Number

Your Custom Text Here

Dabbling Badger

  • Software
  • Blog
  • About

Tips And Tricks For Making The Most Of TextFields In SwiftUI

April 6, 2021 Jonathan Badger
Photo by Thiébaud Faix on Unsplash

Photo by Thiébaud Faix on Unsplash

In SwiftUI TextField is the goto View for capturing freeform input from your users. It works great out-of-the-box for capturing strings, but as with any stock API there are limitations and behavior that may catch you off-guard, especially if you try to work with optionals and other data types. This article will provide some observations, tips, and tricks I have learned to help you work effectively with TextField.

Read more
In Programming Tags SwiftUI, User Interface
1 Comment

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