Difference between String! , String? and String in Swift

Now let’s play with these to understand the concepts

Also, “b” and “c” can be set to nil but not “a”

--

--

--

Moving fast without breaking things 👨‍💻……. Exploring Mobile Apps development

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

Recommended from Medium

Advent of Code: The best way to learn a new language every year

What’s the deal with Big “O” notation?

Azure Arc: All for Azure, and Azure for all!

Rust: Performance and Safety for the Compiled Language Neophyte

A closer look into the spell correction problem — Part 3 — the bells and whistles

Infrastructure-as-a-By-product

Elastic App Search Under the Hood

6 Things You’re Doing Wrong with Your REST API

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
Rushabh Singh

Rushabh Singh

Moving fast without breaking things 👨‍💻……. Exploring Mobile Apps development

More from Medium

MVVM for iOS

iOS — Intro to Protocols

Remote Notification in iOS Simulator — Xcode 11.4 or later & iOS 13.4 or later

Swift: Higher order functions

Xcode PlayGround interface having some source code.