behrang / YamlSwift

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

Switch over to `Range` and `String` instead of `NSString` and `NSRange` #58

Open seivan opened 7 years ago

seivan commented 7 years ago

Should probably use the new substring operators in Swift 4.

behrang commented 7 years ago

I haven't read about Swift 4, but if it finally migrated from NS prefixed classes, it seems to be a good thing to do.