I was wondering why cannot we just mark all the methods/properties/functions in 
Swift Foundation that are NSUnimplemented or call a subroutine that is 
NSUnimplemented like this:
 
@available(*, unavailable, message: “foo is not implemented yet”)
func foo() { NSUnimplemented() }

In this case we can be sure at compile time that we don’t use code that will 
definitely crash.
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Reply via email to