Hey Swift Team!
I want to propose that Protocols can have Private Modifiers to Variables and Functions.
How I implemented my version of Private Properties in Protocols: Used sourcery to copy paste the extensions
The Repository, PDF explanation, and Readme is supplied in this repo
Going through the PDF on the Repository will help explain it as well
I wanted shared code across multiple ViewControllers.
So I wrote up a protocol & dumped the shared code in the extension
The UI shared code required UI elements to be
public (internal) rather than
This Pull Request got rejected as UI elements went public
So learnt and programmed
Sourcery to copy the code in Protocol Extension, and paste it below every Class implementing that Protocol