---
title: "MTNumberOrPropertyValues | Mobile sdk | Mobile sdk ios | Ios"
description: "Either a numeric value or property-mapped numeric values."
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# MTNumberOrPropertyValues

```
public enum MTNumberOrPropertyValues : Codable, Sendable
```

Either a numeric value or property-mapped numeric values.

-   `[number(_:)](#/s:11MapTilerSDK24MTNumberOrPropertyValuesO6numberyACSdcACmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case number(Double)
    ```
    
-   `[propertyValues(_:)](#/s:11MapTilerSDK24MTNumberOrPropertyValuesO08propertyG0yACSayAA08MTHelperF5ValueVGcACmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case propertyValues(MTPropertyValues)
    ```
    
-   `[init(from:)](#/s:Se4fromxs7Decoder_p_tKcfc)`
    
    #### Declaration
    
    Swift
    
    ```
    public init(from decoder: any Decoder) throws
    ```
    
-   `[encode(to:)](#/s:SE6encode2toys7Encoder_p_tKF)`
    
    #### Declaration
    
    Swift
    
    ```
    public func encode(to encoder: any Encoder) throws
    ```
