Here’s <https://swift.org/blog/swift-2-2-new-features/#compile-time-checked-selectors> how selectors in Swift work, based on this <https://github.com/apple/swift-evolution/blob/master/proposals/0022-objc-selectors.md> proposal. Swift’s selectors are a lot safer than Objective-C’s.
> > > > > One of the major security flaws of Obj C is > > the ability to convert a string into a selector, which > > permits using private methods by constructing selectors > > at runtime long after the app store review has been completed. > > Does Swift do away with that? I understand it doesn't > > use selectors per se but is there an analogous mechanism? > > > > > ------------------------------ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution On Thu, Jul 14, 2016 at 08:49 Ford Prefect via swift-evolution swift-evolution@swift.org wrote: -- -Saagar Jha
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution