Photo by Markus Winkler on Unsplash

Three months ago I started applying for iOS jobs and have spent the last few months running the guantlet that is the tech interview. It is not for the faint at heart, that’s for sure. Being an extroverted introvert as I like to call myself, it’s been an interesting roller coaster of emotions — mainly stress when thinking about what’s to come and relief when it’s over.

I’m not one to dwell on the past so when asked the series of “Tell me a time when…” questions I tend to go blank. Even the obligatory, “Tell me about yourself” question…


Photo by Farshad Rezvanian on Unsplash

Time has a tendency to fly by when you get caught up in the minutia of the day to day and lose sight of the big picture. When Covid hit last year and the world shut down, I welcomed the opportunity to step back and reevaluate my life.

I can’t believe I started my journey into iOS development 7 years ago. Back then there weren’t the resources we have today. I taught myself Objective-C by reading every book I could get my hands on and watching videos of a guy named Bucky on You-Tube. Bucky and his “that’s what she…


Photo by Sam Moqadam on Unsplash

If you are new to SwiftUI your mind might be blown right now. It’s a whole new world! While setting up the UI is fairly straightforward and quite easy to implement, it’s when you get to trying to share data between views where you stop and scratch your head.

There are no IBActions or IBOutlets, no storyboard to control-drag a segue from one to another, and the prepareForSegue and performSegue methods are no longer a thing. So what to do? Fret not, Apple has come up with some handy property wrappers to take care of all your needs.

So what…


Photo by Victoria Heath on Unsplash

When SwiftUI was first announced at WWDC 2019, I was hesitant to give it a try. I thought it was WYSIWYG and being a purest I didn’t want anything to do with it. It wasn’t until it was added to the iOS course I’m taking at Devslopes Academy that I gave it a shot.

First impression, SwiftUI is no more WYSIWYG than using storyboard in UIKit. It’s actually the best of both worlds, because what you set using the Attributes Inspector actually gets written in the code so you can see what aspects have been set and change it in…


Photo by Carlos Baker on Unsplash

When not using a UITableViewController you may have noticed an issue where your text field, if located lower on the screen gets hidden when the keyboard appears on screen.

Thankfully, there is a quick fix for this when used in conjunction with a scroll view. If you haven’t quite mastered scroll views yet, check out my article on how to add a scroll view.

In this example, I will start out with a View Controller with a scroll view, a label and 3 text fields.


Photo by Taylor Wilcox on Unsplash

A benefit of working with UITableViewControllers is the built-in ability to scroll when the content is longer than the screen. Sadly, this functionality doesn’t come standard for all Views. This is where Scroll View comes in to save the day. Unfortunately, it’s not as simple as just dragging a Scroll View onto your View Controller. There are a few more steps involved to get it working. I’ve broken it out into 12 easy steps to get your Scroll View up and scrolling!

  1. First up, add a Scroll View to your View Controller.
  2. Drag the four corners to the edges of…

Photo by Mauricio Artieda on Unsplash

With just a little bit of code you can control how many columns your collection view will display.

Here’s what to do:

First click on your collection view in the storyboard. Then click on the Size Inspector. Make sure that Estimate Size is set to None and that Section Insets are set to 0.


Photo by cottonbro from Pexels

The hard work is done, now it’s time to show off your accomplishment with a video preview of how your app works!

  1. Connect your phone to your computer and run your app on your device.
  2. Search for and open QuickTime Player.
  3. In QuickTime Player, click on File -> New Movie Recording.

Photo by Mika Baumeister on Unsplash

I was creating a calculator app for my class recently when I ran into an issue. Why were some of my calculations coming out all cuckoo bananas?

For example, if I put in 2.3 x 3 I would get a result of 6.899999999 instead of 6.9.

Turns out, this is a universal problem with computer systems where some fractions cannot be stored with exact precision in a binary file system.

Thankfully, in Swift, there is an easy fix using the NumberFormatter class.

Here is the code to use. …


Photo by Anna Tarazevich from Pexels

I was in middle school in the mid-80’s when I got my first taste of computer programming. Although we were only tasked with writing small programs in BASIC, I was intrigued. Programming satiated both the logical side of my brain and the creative. Despite a strong desire to continue learning, it was the 80’s and I wouldn’t have a personal computer for another 10 years. By then I was fully immersed in another career. As time went on and the decades passed I found myself still longing to write code. I have a passion for learning and after 13 years…

Kelly O’

Web / iOS Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store