diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2020-02-27 13:09:39 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2020-02-27 17:14:20 -0800 |
commit | 206b9bde5ed9204de6ec18c0d37495db7c30aa09 (patch) | |
tree | 0049d4d6bd9195c194c0fe96665ba72c92f00da5 /platform/darwin/src/NSString+MGLAdditions.h | |
parent | bd252e16a3574efd11cca57917f52e6d1b2dd0a2 (diff) | |
download | qtlocation-mapboxgl-206b9bde5ed9204de6ec18c0d37495db7c30aa09.tar.gz |
[ios, macos] Deleted iOS/macOS map SDK sources, resources, scripts
Diffstat (limited to 'platform/darwin/src/NSString+MGLAdditions.h')
-rw-r--r-- | platform/darwin/src/NSString+MGLAdditions.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/platform/darwin/src/NSString+MGLAdditions.h b/platform/darwin/src/NSString+MGLAdditions.h deleted file mode 100644 index 4888c7a00f..0000000000 --- a/platform/darwin/src/NSString+MGLAdditions.h +++ /dev/null @@ -1,46 +0,0 @@ -#import <Foundation/Foundation.h> - -NS_ASSUME_NONNULL_BEGIN - -@interface NSString (MGLAdditions) - -/** Returns the range spanning the entire receiver. */ -- (NSRange)mgl_wholeRange; - -/** Returns the receiver if non-empty or nil if empty. */ -- (nullable NSString *)mgl_stringOrNilIfEmpty; - -/** - Returns a title-cased representation of the receiver using the specified - locale. - - @param locale The locale. For strings presented to users, pass in the current - locale (`+[NSLocale currentLocale]`). To use the system locale, pass in - `nil`. - */ -- (NSString *)mgl_titleCasedStringWithLocale:(NSLocale *)locale; - -/** - Returns a transliterated representation of the receiver using the specified - script. If transliteration fails, the receiver will be returned. - - Only supports scripts for languages used by Mapbox Streets. - - @param script The four-letter code representing the name of the script, as - specified by ISO 15924. - */ -- (NSString *)mgl_stringByTransliteratingIntoScript:(NSString *)script; - -@end - -@interface NSAttributedString (MGLAdditions) - -/** Returns the range spanning the entire receiver. */ -- (NSRange)mgl_wholeRange; - -/** Returns a copy of the receiver with leading and trailing members of the given set removed. */ -- (NSAttributedString *)mgl_attributedStringByTrimmingCharactersInSet:(NSCharacterSet *)set; - -@end - -NS_ASSUME_NONNULL_END |