<div dir="ltr">self.dynamicType doesn't work any more, but type(of: self) is just Swift 3.0 So how do i get the class?<div><br></div><div>Use case in a unit test: </div><div>
<p class="gmail-p1"><span class="gmail-s1">let</span><span class="gmail-s2"> bundle = </span><span class="gmail-s3">NSBundle</span><span class="gmail-s2">(forClass: type(of: </span><span class="gmail-s1">self</span><span class="gmail-s2">))</span></p><div><br></div>-- <br><div class="gmail_signature">Nate Birkholz</div>
</div></div>