---
title: next()
framework: swift-package-manager
role: symbol
role_heading: Instance Method
path: swift-package-manager/documentation/packageplugin/filelist/iterator/next()
---

# next()

Inherited from IteratorProtocol.next().

## Declaration

```swift
mutating func next() -> File?
```
