Delegation Pattern in Swift

This extension extends the MovieController class which is the main class subclassing the UITableViewController class. This class hold the favorite movie list.

Using Notifications instead of Delegation

Using Closures instead of Delegation

--

--

--

Software Engineer

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

Recommended from Medium

What Are the Different Purposes of Deep Links?

5 UI-Related iOS Libraries to Use On Your App

How To Create Adaptive Views Combining UIStackView And AutoLayout

Dismissing SwiftUI modal views in iOS 15 and macOS 12

How to Begin Editing a Document in Swift

What are the Core Differences of iOS and Android App Development?

Saving data to CloudKit in iOS

Accessibility in iOS

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
İsmail GÖK

İsmail GÖK

Software Engineer

More from Medium

How to implement GraphQL in your iOS project.

Adding Statsig to iOS

Difference between == and === operators in Swift

iOS CI&CD tips pt 3