[swift-evolution] executing a string

Saagar Jha saagarjha28 at gmail.com
Thu Jul 14 19:25:10 CDT 2016


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 at 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 at swift.org wrote:


-- 
-Saagar Jha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160715/b90d1143/attachment.html>


More information about the swift-evolution mailing list