stored property "text" without initial value prevents synthesized initializers
<p>I'm learning swift and have came up with the simple code below.</p>

<pre><code>class ARandom{
    var number: Int = 0
    var text: String
}
</code></pre>

<p>However, Xcode displays the following Error: </p>

<pre><code>stored property "text" without initial value prevents synthesized initializers
</code></pre>

<p>Why is this happening? what is an synthesized initialiser? why "text" without initial value prevents systhesised initialiser? Could someone please kindly explain it to me? THanks in advance for any help!</p>