Tuesday, June 2, 2015 [Tweets] [Favorites]

Swift Subscripts Support Labeled Parameters

Erica Sadun:

You use it as a labeled subscript, e.g. myArray[safe:3]. Subscripting + labels = ♥︎.

Chris Lattner:

Well of course subscripts support labeled arguments!

Comments

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment