Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
Steven Curtis
Steven Curtis

May 26, 2021

·
3 min read
·

Pass The Swift Code Review: Dictionary Edition

Succinct Swift Code

Difficulty: Beginner | Easy | Normal | Challenging
This article has been developed using Xcode 12.1, and Swift 5.3

Prerequisites:

  • Some knowledge of Swift’s Dictionaries would be useful
  • The answers here use the Ternary Operator

--

--

More from Steven Curtis

stevecurtis.me

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

Try Knowable

Recommended from Medium

Ümit Duran

Ümit Duran

in

FlutterForce

FlutterForce — #Week 123

Low Junwei

Low Junwei

in

Tinkercademy Build Log

A Python-focused internship

Julia Zavalniuk

Julia Zavalniuk

What happens when a programmers learn languages?

Victoria Drake

Victoria Drake

in

Better Programming

The Surprisingly Difficult Task of Printing Newlines in a Terminal

Petr Plavjaník

Petr Plavjaník

Using Boost and Served Libraries to Build a C++ REST API Service

Milla Lappalainen

Milla Lappalainen

in

Junction

This trio has hacked the hackathon: Ville, Andreas and Teemu won Junction for the 2nd time

Nineleaps

Nineleaps

Developing High-Quality Software via Agile Methodology

Moroknin

Moroknin

in

Dev Genius

Stream Data from MSSQL to Anodot using Apache NiFi

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

Maciej Krolikowski

Maciej Krolikowski

in

Better Programming

Preventing Memory Leaks Using XCTests

Phil Yates

Phil Yates

in

Dev Genius

SOLID Principles in Swift — Interface Segregation Principle

Steven Curtis

Steven Curtis

Retain Cycles and Memory Management in Swift

Chua Swee Kwang

Chua Swee Kwang

Swift Array and its Performance — Data Structures

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable