top | item 7901394 Object Subscripting in Swift 2 points| andrei512 | 11 years ago |weheartswift.com 2 comments order hn newest [+] [-] andrei512|11 years ago|reply Any ideas of applications for object subscripting? [+] [-] chengdujin|11 years ago|reply You could try add more feature as you like to the language, for example, I wrote an extension to support getting/setting substring with range as simple as testString[1...5] https://gist.github.com/chengdujin/a71c07f1a0432ab20423
[+] [-] andrei512|11 years ago|reply Any ideas of applications for object subscripting? [+] [-] chengdujin|11 years ago|reply You could try add more feature as you like to the language, for example, I wrote an extension to support getting/setting substring with range as simple as testString[1...5] https://gist.github.com/chengdujin/a71c07f1a0432ab20423
[+] [-] chengdujin|11 years ago|reply You could try add more feature as you like to the language, for example, I wrote an extension to support getting/setting substring with range as simple as testString[1...5] https://gist.github.com/chengdujin/a71c07f1a0432ab20423
[+] [-] andrei512|11 years ago|reply
[+] [-] chengdujin|11 years ago|reply