<html><head></head><body>This is a wrong place to ask. This topic is part of the iOS SDK from Apple not part of Swift itself or libraries like Foundation.<br> <br><div class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Adrian Zubarev<br>Sent with Airmail</div></div> <p class="gmail_quote" style="color:#000;">Am 8. Oktober 2016 um 18:32:50, Lou Zell via swift-users (<a href="mailto:swift-users@swift.org">swift-users@swift.org</a>) schrieb:</p> <blockquote type="cite" class="gmail_quote"><span><div><div></div><div>
<title></title>
<div dir="ltr">Oh wow, I stumbled on this immediately after
posting: For anyone else that fills their NSCoding initializers
with assert(false), switch them to fatalError("message")</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Oct 8, 2016 at 9:22 AM, Lou Zell
<span dir="ltr"><<a href="mailto:lzell11@gmail.com" target="_blank">lzell11@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hi all,</div>
<div><br></div>
<div>For better or worse I still hand code most of my views. I am
getting frustrated by the constant compiler error that I haven't
updated "required init(coder:)", which is something that will never
be executed in my case.</div>
<div><br></div>
<div>Is there some hacky mechanism that I could use to create a
subtype that doesn't conform to all protocols of the parent?
Seems like recipe for disaster so I suspect it's not built into
swift directly.</div>
<div><br></div>
<div>Is there a creative way to use UIViews, but with the
dependency on NSCoding removed? I am open to total hacks.</div>
<div><br></div>
<div>Thanks!</div>
<span class="HOEnZb"><font color="#888888"></font></span>
<div><span class="HOEnZb"><font color="#888888">Lou</font></span></div>
<div><span class="HOEnZb"><font color="#888888"><br></font></span></div>
</div>
</blockquote>
</div>
<br></div>
_______________________________________________<br>swift-users mailing list<br>swift-users@swift.org<br>https://lists.swift.org/mailman/listinfo/swift-users<br></div></div></span></blockquote></body></html>