Object Slicing in Swift

Daniel Duan:

“Lic is a μ-framework that makes getting slices of arrays and strings in Swift 2 safe and easy.”

Objects are sliced by providing two indices, start and end. Logic is provided to handle negative and out-of-range index values.

Object slicing in Swift.