How I learned Swift Delegates and Protocols
About me
I'm Full Stack developer, proficient in iOS development, Server side development using PHP. I'm also good in iOS Automation. I know Swift, PHP, Java, Python and Shell.
Why I wanted to learn Swift Delegates and Protocols
Design Patters are very important in every programming language and you should master most of them to write efficient code. On such design pattern in iOS is Communication Pattern, as the Name suggest communication, passing information from one screen to other or sharing data from one screen to other through a specific set of rules and regulation is known as Communication Pattern.
Communication patterns are of two types Delegates and Protocols and Notification and Observers. In this tutorial we will be focussing on Swift Delegates and Protocols.
How I approached learning Swift Delegates and Protocols
I started reading official iOS tutorial from Apple.
Later once I got proper understanding and exposure I build my own application and tutorial to have more in depth understanding.
If you wish to go through in depth tutorial you can checkout Swift-Delegates and Protocols
Challenges I faced
Delegates and Protocol, this topic is something which one cannot grab at once, you required some practise, real time scenarios. Initially it was difficult for me to understand but after making this project I was able to understand thoroughly.
Tips and advice
Get your basics before your start reading this, necessary topics,
Swift, Basics of iOS Development.
Final thoughts and next steps
Communication Patterns are very important for every iOS developer, For real time application you can follow this tutorial.
You can checkout my personal blog for more information on technology The Nuclear Geeks.
What is it about swift delegate which appeals you most and how that can be achieved with different way?