Mobile App Development Publication
Published in

Mobile App Development Publication

Elye
Elye

Nov 15, 2020

·
8 min read
·

Learning Swift

Use Swift Struct For Total Immutability

The many ways to prevent mutability of Swift’s struct

Photo by Aaron Burden on Unsplash

In Choosing Between Structures and Classes , the document provides us some guides of when to use Class and when to use Struct.

The reasons to use Struct given as are below.

  • Use Structures When You Don’t…

--

--

More from Mobile App Development Publication

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Read more from Mobile App Development Publication

Recommended from Medium

Zane Carter

Zane Carter

in

Better Programming

Mocking iOS 15 Section Headers

Swiftos

Swiftos

in

Geek Culture

Week 7: Handy Xcode Features to Save Us Time

Kamal Bhardwaj

Kamal Bhardwaj

in

Dev Genius

Localize Images, Colors and InfoPlist (iOS)

devCracker

devCracker

in

ITNEXT

@MainActor in Swift — Detailed walkthrough

Usage of @mainactor in swift — Fetching data and updating them in non main thread — @MainActor in Swift
Elye

Elye

in

Mobile App Development Publication

Making iOS UITextField accept number only

Robert Chen

Robert Chen

Build Your Very First iOS App

Dinesh Falwadiya

Dinesh Falwadiya

StaticResource & DynamicResource in Xamarin Forms

iOS Guru

iOS Guru

SwiftUI and Dynamic Text

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
Get unlimited access
Elye

Elye

53K Followers

Sharing Software Development Experience, focus on Mobile. https://elye-project.medium.com/subscribe https://twitter.com/elye_project

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech