summaryrefslogtreecommitdiff
path: root/platform/darwin
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2016-11-30 11:53:34 -0800
committerJesse Bounds <jesse@rebounds.net>2016-12-01 08:57:41 -0800
commitb2c2d4ebc4041d4ca5d71bf589dfa5826ec5bf46 (patch)
tree211953b6b09e5f3cfebd97634162dedd45a33482 /platform/darwin
parent7e9457214a0672f4ba21fa48ce5491174633cb68 (diff)
downloadqtlocation-mapboxgl-b2c2d4ebc4041d4ca5d71bf589dfa5826ec5bf46.tar.gz
[ios, macos] Update style predicate documentation
Note the support of CONTAINS and the lack of support for case and diacritic operator modifiers.
Diffstat (limited to 'platform/darwin')
-rw-r--r--platform/darwin/src/MGLVectorStyleLayer.h7
1 files changed, 5 insertions, 2 deletions
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
<li><code>NSNotPredicateType</code> (<code>NOT</code>, <code>!</code>)</li>
</ul>
- The following aggregate operator is supported:
+ The following aggregate operators are supported:
<ul>
<li><code>NSInPredicateOperatorType</code> (<code>IN</code>)</li>
+ <li><code>NSContainsPredicateOperatorType</code> (<code>CONTAINS</code>)</li>
</ul>
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;