mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
* Source/NSString.m: Implement a codepath using ICU for
-compare:options:range:locale: and -rangeOfString:options:range:locale: when a non-nil locale is provided. * Headers/Foundation/NSString.h (-compare:options:range:locale:): Change type of locale parameter to id; it can be NSDictionary or NSLocale. * configure.ac: add some ICU headers used in NSString change * configure: regenerate git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34856 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
26ffe755bb
commit
5393256ae6
5 changed files with 4652 additions and 21589 deletions
|
@ -741,7 +741,7 @@ typedef NSUInteger NSStringEncodingConversionOptions;
|
|||
- (NSComparisonResult) compare: (NSString*)string
|
||||
options: (NSUInteger)mask
|
||||
range: (NSRange)compareRange
|
||||
locale: (NSDictionary*)dict;
|
||||
locale: (id)dict;
|
||||
- (NSComparisonResult) localizedCompare: (NSString *)string;
|
||||
- (NSComparisonResult) localizedCaseInsensitiveCompare: (NSString *)string;
|
||||
- (BOOL) writeToFile: (NSString*)filename
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue