Swift TimeProfiler
Apr 02, 2025Had a blast and some help from ChatGPT to create a fun way to figure out how long a function is taking to run.
Had a blast and some help from ChatGPT to create a fun way to figure out how long a function is taking to run.
Had a fun time trying to create an extension on Array for removing items.
Had one heck of a time trying to create a scrollable Text item in SwiftUI. After failing with a disabled TextView and trying some pretty anoying items I found using ChatGPT and Google searches I created my own. Turns out to be super simple.
Worked to get some existing code ported over to work with SwiftUI on iOS. I thought is would be simple to get working since I’ve done the same in SwiftUI on macOS.
While doing some code cleanup noticed this error in the console. Turns out the fix was easy.
How to display a "Done" button above the keyboard for the .numberPad and .phonePad keyboard types in SwiftUI.
PiP is one of those super fun, perfect for a demo, staple features of any iOS app. Turns out easy to implement.
Of all the things I had to create during some dev work on macOS. A CheckBax was an oddly necessary creation.