---
title: "MTOfflinePackProgress | Mobile sdk | Mobile sdk ios | Ios"
description: "Represents the download progress of an offline pack."
---

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

# MTOfflinePackProgress

```
public struct MTOfflinePackProgress : Sendable, Equatable, Codable
```

Represents the download progress of an offline pack.

-   `[totalResources](#/s:11MapTilerSDK21MTOfflinePackProgressV14totalResourcesSivp)`
    
    Total number of resources required for the pack.
    
    #### Declaration
    
    Swift
    
    ```
    public var totalResources: Int
    ```
    
-   `[downloadedResources](#/s:11MapTilerSDK21MTOfflinePackProgressV19downloadedResourcesSivp)`
    
    Number of resources that have been successfully downloaded.
    
    #### Declaration
    
    Swift
    
    ```
    public var downloadedResources: Int
    ```
    
-   `[totalTileResources](#/s:11MapTilerSDK21MTOfflinePackProgressV18totalTileResourcesSivp)`
    
    Total number of tile resources required for the pack.
    
    #### Declaration
    
    Swift
    
    ```
    public var totalTileResources: Int
    ```
    
-   `[percentage](#/s:11MapTilerSDK21MTOfflinePackProgressV10percentageSdvp)`
    
    The completion percentage (0.0 to 1.0).
    
    #### Declaration
    
    Swift
    
    ```
    public var percentage: Double { get }
    ```
