---
title: MLWritable
framework: coreml
role: symbol
role_heading: Protocol
path: coreml/mlwritable
---

# MLWritable

A set of methods that saves a machine learning type to the file system.

## Declaration

```swift
protocol MLWritable : NSObjectProtocol
```

## Overview

Overview You use MLWritable to save any MLModel instance that adopts the protocol to the file system.

## Topics

### Saving to a file

- [write(to:)](coreml/mlwritable/write(to:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Saving an updated model

- [model](coreml/mlupdatecontext/model.md)
