<!--
{
  "availability" : [
    "iOS: 14.0.0 - 17.4.0",
    "iPadOS: 14.0.0 - 17.4.0",
    "visionOS: 1.0.0 - 1.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreML",
  "identifier" : "/documentation/CoreML/MLModelCollection/Entry",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core ML",
      "CoreML"
    ],
    "preciseIdentifier" : "c:objc(cs)MLModelCollectionEntry"
  },
  "title" : "MLModelCollection.Entry"
}
-->

# MLModelCollection.Entry

A model and its identifier within a model collection.

```
class Entry
```

## Topics

### Identifying a model

[`var modelIdentifier: String`](/documentation/CoreML/MLModelCollection/Entry/modelIdentifier)

The name of the model, which is unique to the collection.

### Locating a compiled model file

[`var modelURL: URL`](/documentation/CoreML/MLModelCollection/Entry/modelURL)

The compiled model’s location on the device’s file system.

### Comparing model collection entries

[`func isEqual(to: MLModelCollection.Entry) -> Bool`](/documentation/CoreML/MLModelCollection/Entry/isEqual(to:))

Returns a Boolean value that indicates whether the two entries are equal.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)