---
title: "MTTileSource | Mobile sdk | Mobile sdk ios | Ios"
description: "Protocol requirements for all tile type sources."
---

> 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.

# MTTileSource

```
public protocol MTTileSource : MTSource
```

Protocol requirements for all tile type sources.

-   `[attribution](#/s:11MapTilerSDK12MTTileSourceP11attributionSSSgvp)`
    
    Attribution string.
    
    #### Declaration
    
    Swift
    
    ```
    var attribution: String? { get set }
    ```
    
-   `[bounds](#/s:11MapTilerSDK12MTTileSourceP6boundsSaySdGvp)`
    
    Bounds of the source.
    
    #### Declaration
    
    Swift
    
    ```
    var bounds: [Double] { get set }
    ```
    
-   `[maxZoom](#/s:11MapTilerSDK12MTTileSourceP7maxZoomSdvp)`
    
    Max zoom of the source.
    
    #### Declaration
    
    Swift
    
    ```
    var maxZoom: Double { get set }
    ```
    
-   `[minZoom](#/s:11MapTilerSDK12MTTileSourceP7minZoomSdvp)`
    
    Min zoom of the source.
    
    #### Declaration
    
    Swift
    
    ```
    var minZoom: Double { get set }
    ```
    
-   `[tiles](#/s:11MapTilerSDK12MTTileSourceP5tilesSay10Foundation3URLVGSgvp)`
    
    List of URLs pointing to the tiles resources.
    
    #### Declaration
    
    Swift
    
    ```
    var tiles: [URL]? { get set }
    ```
