From b2c2d4ebc4041d4ca5d71bf589dfa5826ec5bf46 Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Wed, 30 Nov 2016 11:53:34 -0800 Subject: [ios, macos] Update style predicate documentation Note the support of CONTAINS and the lack of support for case and diacritic operator modifiers. --- platform/darwin/src/MGLVectorStyleLayer.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'platform/darwin') diff --git a/platform/darwin/src/MGLVectorStyleLayer.h b/platform/darwin/src/MGLVectorStyleLayer.h index 13bb9e79a9..e2a755083f 100644 --- a/platform/darwin/src/MGLVectorStyleLayer.h +++ b/platform/darwin/src/MGLVectorStyleLayer.h @@ -52,10 +52,11 @@ NS_ASSUME_NONNULL_BEGIN
  • NSNotPredicateType (NOT, !)
  • - The following aggregate operator is supported: + The following aggregate operators are supported: To test whether a feature has or lacks a specific attribute, compare the attribute to `NULL` or `NIL`. Predicates created using the `+[NSPredicate predicateWithValue:]` method are also supported. String operators and custom operators are not supported. @@ -118,7 +119,9 @@ NS_ASSUME_NONNULL_BEGIN Automatic type casting is not performed. Therefore, a feature only matches this predicate if its value for the attribute in question is of the same type as the - value specified in the predicate. + value specified in the predicate. Also, operator modifiers `c`, `d`, and the + combined `cd` for case and diacritic insensitivity are unsupported for + comparison and aggregate operators that are used in the predicate. */ @property (nonatomic, nullable) NSPredicate *predicate; -- cgit v1.2.1