let randomInt = Int.random(in: 0..<6)
let randomDouble = Double.random(in: 2.71828...3.14159)
let randomBool = Bool.random()

--

--

--

iOS Developer, Triple graduated, Passionate, Love workout, blogger

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

Recommended from Medium

Move to iOS APK Download

SwiftUI: Navigating from One View to Another with NavigationView

An Apple Macbook computer

iOS App Architecture for Web Developers

Diagram of the repository pattern

Build your First WatchOS App with SwiftUI— Counter App — Part 2

#SwiftTips5: Prefer Enum over Optional && Bool combinations

Using the MVI pattern in Swift iOS App development

How You Can Switch Your Apps From Objective C To Swift?

Build your first WatchOS App with Swift — Counter App

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
Mr.Javed Multani

Mr.Javed Multani

iOS Developer, Triple graduated, Passionate, Love workout, blogger

More from Medium

My Swift Studying Notes

What is Swift Language and advantages and disadvantages?

Basic Operators in Swift

Everyone can code Puzzles — Hypocycloid