concept comment in category ios

This is an excerpt from Manning's book Anyone Can Create an App: Beginning iPhone and iPad programming.
Comments are a way that of documenting your code so that when you or someone else looks through the code, they can easily understand what you did, why you did it, and even how you did it. Adding comments to your code is a good habit to get into now, early in your coding career. Imagine a few weeks into the future when you’re creating the LioN app and learning and applying new concepts. What will happen if you take a break for a few days, weeks, or months and then return to your code? Do you think you’ll remember where you left off? Or why you wrote a line of code the way you did? It is highly unlikely, which is why comments come in handy. Some developers feel that comments aren’t necessary—that code should be written in such a way that comments aren’t needed. I think commenting your code is beneficial for you and for anyone who picks up the code after you.