Kaixo! Ramblings written by Smith Suth who works at the intersection of Design, Engineering, and Product.

  • (Swift) Detect Typing

    (Swift) Detect Typing

    Here’s a snippet on how to detect typing on your Swift app. It’s pretty simple because we’re utilizing the UITextViewDelegate delegate. Aka, built in success – thank you Swift! Tools: This snippet is pretty short. See below for some code that…


  • (Swift) Creating a UITableView

    (Swift) Creating a UITableView

    Here’s a snippet on how to make a UITableView. Check out the code below! Tools:


  • (App/Extension) The Great Suspender

    (App/Extension) The Great Suspender

    I just started using this Chrome extension. It’s called The Great Suspender and it times out, or suspends, idle tabs in your browser to save memory and system resources. This is super great if you’re one of those…


  • 3D Printing (FormLabs Form 1+ & the Tinkerine DittoPro)

    3D Printing (FormLabs Form 1+ & the Tinkerine DittoPro)

    I recently began fiddling around with 3D printing. In hind site, I should’ve started about a year ago because I had access to a 3D printer. Unfortunately, life happened and I never got around to it.…


  • (Swift) Keyboard Visibility

    (Swift) Keyboard Visibility

    This post is about doing things when your keyboard is visible or not. You might want to have some animation when your keyboard comes into view, or you might want an alert to pop up. Whatever…


  • (Swift) Troubleshooting Lost Simulators

    (Swift) Troubleshooting Lost Simulators

    Have you ever ran into the issue of all of your simulators disappearing? I have. My buddy created a new project and when I cloned her repo, all of my simulators cleared out! Turned out that…


  • (Swift) Make UILabel Conform to Length of Text

    (Swift) Make UILabel Conform to Length of Text

    Here’s a snippet of how you can make your UILabel conform to the width of your text. You want to use .sizeToFit() on your UILabel, otherwise you’d have to hardcode your label’s width in the CGRect. So, no more…


  • (Swift) zIndex zPosition

    (Swift) zIndex zPosition

    I’m a web person, and I almost always think web first. With CSS there’s a property called z-index and it’s responsible for positioning elements on the z plane. In iOS, there’s an analogous property on the layer of elements…


  • (Swift) Add Target for Click Handle

    (Swift) Add Target for Click Handle

    This entry will show how you’d add a click handler to a UIButton. It’s very easy. The first thing you want to do it make a button. In this scenario, I’m just slapping it in my viewDidLoad function. You…