Can't pass DateInRegion to NSPredicate(format: …)
<p>I have a code:</p>

<pre><code>let dateInFormat = selectedDate.toString()

let predicate = NSPredicate.init(format: "date = %@",arguments:selectedDate )
</code></pre>

<p>But it doesn't work and I tried to convert it into different type using in format - operator "as" string or <code>dateInRegion</code> or something but all the same.
Any help appreciated.</p>