Baby steps in swift 3: Limit text input

Sometimes you don’t want users of your app to be able to write an infinite amount of text. For example, one of the core concepts of twitter is its 140 character limit count, so I tried it out!

Limit the character input to 70 and show how many characters are left.

Below is the code with comments in it.