Need someone to explain this code : <p>I have been trying to understand this:</p>

<pre><code>var arrayOfLabels =
[
    "Hello",
    "Hey",
    "Hi",
    "Howdy"
]

@IBOutlet weak var labelHere: UILabel!

var currentElementIndex = 0

@IBAction func clickForNextElement(_ sender: UIButton) {
    currentElementIndex += 1

    let numberOfElements = arrayOfLabels.count // arrayOfLabels.count = Amount of elements in arrayOfLabels

    let nextElement = currentElementIndex % numberOfElements

    labelHere.text = arrayOfLabels[nextElement]

}
</code></pre>

<p>I don't get what % does, what the constant "numberOfElements" &amp; "nextElement" does.. I do get a little bit, like i would be able to code something similar to this without understanding it. That's why i need some simple, detailed explanation. </p>

<p>Thank you!</p>
