iOS 12 Programming for Beginners
上QQ阅读APP看书,第一时间看更新

Comments – leaving yourself notes or reminders

Comments are a great way to create notes or reminders to yourself. When you comment code, it means that it will not execute when your code runs. There are two types of comment used: // or /* */. // is used for a one-line comment and /**/ is used for a block of text.

Let's see what both of these look like: