Swift — How to Use Delegate Effectively in iOS App Development

Use delegation pattern to write flexible code.

Mahmud Ahsan
Thinkdiff
Published in
4 min readMar 14, 2021

--

The author designs the graphic.

Let’s talk about delegation or delegate in a programming language. Delegation is a design pattern. It is widely used in developing software. In iOS application development, we mostly use the callback function or delegation to hand off some tasks.

--

--

I'm a software engineer passionate about web and mobile app development.