behrang / YamlSwift

Load YAML and JSON documents using Swift
MIT License
404 stars 97 forks source link

Rename `substringWithRange` and `substringFromIndex` to just `substring` #57

Closed seivan closed 7 years ago

seivan commented 7 years ago

In the future, might switch out NSString to String, substring to the subscription [] operator and NSRange to Range<Int> or Range<String.Index>

Any takes on this?