Sadly still necessary with half of the String/NSString APIs. Also very
useful when working in a mixed Objective-C/Swift code base.
This is based on code found on stack overflow, and credited as such. Test cases added. A little contrived, but the latter is a much reduced version of what I originally needed this solution for.
Sadly still necessary with half of the String/NSString APIs. Also very useful when working in a mixed Objective-C/Swift code base.
This is based on code found on stack overflow, and credited as such. Test cases added. A little contrived, but the latter is a much reduced version of what I originally needed this solution for.