From 9d1d4ecdb8bcbb10c8b1f3125ca2d78510856ce9 Mon Sep 17 00:00:00 2001 From: Josh Erb Date: Mon, 26 Nov 2018 13:57:37 -0500 Subject: [ios][documentation] link expression guide to NSExpression(MGLAdditions) --- .../darwin/docs/guides/Predicates and Expressions.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/platform/darwin/docs/guides/Predicates and Expressions.md b/platform/darwin/docs/guides/Predicates and Expressions.md index c70d76b581..71c869f7fe 100644 --- a/platform/darwin/docs/guides/Predicates and Expressions.md +++ b/platform/darwin/docs/guides/Predicates and Expressions.md @@ -10,7 +10,9 @@ This document discusses the specific subset of the predicate and expression syntax supported by this SDK. For a more general introduction to predicates and expressions, consult the _[Predicate Programming Guide](https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Predicates/AdditionalChapters/Introduction.html)_ -in Apple developer documentation. +in Apple developer documentation. For additional detail on how this SDK has +extended the `NSExpression` class, consult the [`NSExpression(MGLAdditions)`](./Categories/NSExpression(MGLAdditions).html) +section of this documentation. ## Using predicates to filter vector data @@ -555,9 +557,9 @@ expression that contains references to those variables. An input expression, then any number of argument pairs, followed by a default expression. Each argument pair consists of a constant value followed by an expression to produce as a result of matching that constant value. - If the input value is an aggregate expression, then any of the constant values within - that aggregate expression result in the following argument. This is shorthand for - specifying an argument pair for each of the constant values within that aggregate + If the input value is an aggregate expression, then any of the constant values within + that aggregate expression result in the following argument. This is shorthand for + specifying an argument pair for each of the constant values within that aggregate expression. It is not possible to match the aggregate expression itself. @@ -731,9 +733,9 @@ operator in the Mapbox Style Specification. See also the
The first argument is one of the following strings denoting curve types: linear, exponential, or cubic-bezier. - + The second argument is an expression providing parameters for the curve: - + - + The third argument is an NSDictionary object representing the interpolation’s stops, with numeric zoom levels as keys and expressions as values. @@ -832,7 +834,7 @@ operator. The first argument is an expression that evaluates to a number, specifying the minimum value in case the target is less than any of the stops in the second argument. - + The second argument is an NSDictionary object representing the interpolation’s stops, with numeric zoom levels as keys and expressions as values. -- cgit v1.2.1