[swift-users] What is [weak self]?

Jacob Bandes-Storch jtbandes at gmail.com
Mon Dec 14 22:51:30 CST 2015


It's a "capture list":
https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/AutomaticReferenceCounting.html#//apple_ref/doc/uid/TP40014097-CH20-ID56

Jacob Bandes-Storch

On Mon, Dec 14, 2015 at 8:50 PM, Jeff Kelley via swift-users <
swift-users at swift.org> wrote:

> Just looking for a technical term here: what is [weak self] at the
> beginning of a closure? An annotation? Thanks in advance!
>
>
> Jeff Kelley
>
> SlaunchaMan at gmail.com | @SlaunchaMan <https://twitter.com/SlaunchaMan> |
> jeffkelley.org
>
>
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151214/286c3203/attachment.html>


More information about the swift-users mailing list