Andrew Bancroft 3/27/2015

What is Delegation? – A Swift Developer’s Guide

Read Original

This article provides a comprehensive guide to the delegation design pattern for Swift developers, particularly those new to iOS development. It explains the concept of design patterns in software, then breaks down delegation by mapping real-world delegation (delegator and delegate) to class instances in code. The author aims to clarify how delegation works in iOS, contrasting it with NSNotificationCenter, and offers a beginner-friendly explanation of this common pattern used for communication between objects.

What is Delegation? – A Swift Developer’s Guide

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet