We will look at a few different ways that we can add markups and documentation to our code.
These are essentially just comments that we can write in our project to keep the code clean and understandable to other developers.
Many employers will consider this to be a requirement because it is so crucially important for developers to be able to write clear and efficient documentation.
by writing // MARK: TITLE
, it leaves a flag on minimap.
and we can comment it like this
and we can fold it by pressing option+command+arrow
we can simplify the code by extracting subviews from the body
We can comment what this code is for
Use documentation to write a clear guideline and instructions for other people to understand