Here's demo code for emulating protected in Swift: https://gist.github.com/callionica/19da0763c0b0b4c504fc5f46d07e8ee8 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160529/f0b2bebc/attachment.html>