Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
Steven Curtis
Steven Curtis

Jan 27

·
3 min read
·

Swift Helper Functions

I’ve been doing it wrong!

Photo by Mael BALLAND on Unsplash

Imagine you’ve got some helper functions you’d like to use in your Swift project.

There are a few different options for you to place these helper functions.

Let us take a look at a few of them, and decide whether they might be used in your project.

--

--

More from Steven Curtis

stevecurtis.me

Love podcasts or audiobooks? Learn on the go with our new app.

Try Knowable

Recommended from Medium

Jullian Mercier

Jullian Mercier

SwiftUI — @Published

İbrahim Halil KALKAN

İbrahim Halil KALKAN

Error Handling in Swift

Yianni Yiannakidis

Yianni Yiannakidis

Using Tab Bar Controllers In Swift

Alex Dremov

Alex Dremov

in

Better Programming

SwiftUI Advanced Animation: Morphing Shapes

Steven Curtis

Steven Curtis

What’s New in SwiftUI (2022)

Steven Curtis

Steven Curtis

Don’t return — NEVER in Swift

Rizwan

Rizwan

SwiftUI Import/Export files

Steven Curtis

Steven Curtis

in

The Startup

A Swift YogaKit Guide to Flexbox

AboutHelpTermsPrivacy


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
Steven Curtis

Steven Curtis

stevecurtis.me

More from Medium

Varga Zolt

Varga Zolt

in

Better Programming

How to Refactor Obj-C to Swift With Minimal Effort

The Refactor
Phil Yates

Phil Yates

in

Dev Genius

SOLID Principles in Swift — Liskov Substitution Principle

Steven Curtis

Steven Curtis

Retain Cycles and Memory Management in Swift

yyjill_

yyjill_

Swift Programming: Structures / Enumerations / Switch statement

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable