Swift Combine CompactMap vs flatMap

map battle

--

--

--

Major in physical education. Football referee. And high interest in looking the world through the numbers.

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

Recommended from Medium

UICollectionView scrollToItem Issue and Its Fix(Xcode, iOS 14 and Swift)

How to create a custom Cordova Plugin in iOS Swift

Making Camera Shake using Impulse Listener Extensions

Why use Default Constructor for Fragments?

Image Views, Resizing, Aspect Ratio

Functional Swift: Closures { }

Modular Panel for Navigating App

Show an Array of Identifiable Items in a List

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
Mario tsai

Mario tsai

Major in physical education. Football referee. And high interest in looking the world through the numbers.

More from Medium

A Look at CurrentValueSubject in Swift

SwiftUI View to UIImage

Using Charles & Mockoon in IOS

Link old Xcode with the new SDKs