Implementing Custom Subscripts in Swift | Ray Wenderlich

Learn how to extend your own types with subscripts, allowing you to index into them with simple syntax just like native arrays and dictionaries.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/123102/implementing-custom-subscripts-swift