---
title: "MTStyleDependencies | Mobile sdk | Mobile sdk ios | Ios"
description: "Represents the non-tile dependencies extracted from a style JSON."
---

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

# MTStyleDependencies

```
public struct MTStyleDependencies : Equatable
```

Represents the non-tile dependencies extracted from a style JSON.

-   `[sprites](#/s:11MapTilerSDK19MTStyleDependenciesV7spritesSayAA0D6SpriteVGvp)`
    
    The sprites required by the style.
    
    #### Declaration
    
    Swift
    
    ```
    public let sprites: [MTStyleSprite]
    ```
    
-   `[glyphsTemplate](#/s:11MapTilerSDK19MTStyleDependenciesV14glyphsTemplateSSSgvp)`
    
    The glyphs template URL required by the style.
    
    #### Declaration
    
    Swift
    
    ```
    public let glyphsTemplate: String?
    ```
    
-   `[sources](#/s:11MapTilerSDK19MTStyleDependenciesV7sourcesSayAA0D6SourceVGvp)`
    
    The tile sources required by the style.
    
    #### Declaration
    
    Swift
    
    ```
    public let sources: [MTStyleSource]
    ```
    
-   `[fontStacks](#/s:11MapTilerSDK19MTStyleDependenciesV10fontStacksSaySaySSGGvp)`
    
    The unique font stacks required by the style layers.
    
    #### Declaration
    
    Swift
    
    ```
    public let fontStacks: [[String]]
    ```
    
-   `[init(sprites:glyphsTemplate:sources:fontStacks:)](#/s:11MapTilerSDK19MTStyleDependenciesV7sprites14glyphsTemplate7sources10fontStacksACSayAA0D6SpriteVG_SSSgSayAA0D6SourceVGSaySaySSGGtcfc)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    public init(
        sprites: [MTStyleSprite],
        glyphsTemplate: String?,
        sources: [MTStyleSource] = [],
        fontStacks: [[String]] = []
    )
    ```
