Handling NSString deprecation warnings