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")
On Sat, Oct 8, 2016 at 9:22 AM, Lou Zell <lzel...@gmail.com> wrote: > Hi all, > > 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. > > 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. > > Is there a creative way to use UIViews, but with the dependency on > NSCoding removed? I am open to total hacks. > > Thanks! > Lou > >
_______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users