Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[SR-929] Implement NSString.init() with locale #286
SR-929 covers the need to implement the following NSString API:
public convenience init(format: String, locale: AnyObject?, arguments argList: CVaListPointer)
This PR adds an implementation that:
The behaviour is the same as for Objective-C on Mac, except for the error handling. Let me know if there's any suggest changes to the implementation.
I've also added 4 tests for the implementation:
Sorry, but it looks like there is a CI failure: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-15_10/3818/console
Could someone investigate or revert for now?