---
title: "init(named:)"
framework: spritekit
role: symbol
role_heading: Initializer
path: "spritekit/sktextureatlas/init(named:)"
---

# init(named:)

Creates a texture atlas from data stored in the app bundle.

## Declaration

```swift
convenience init(named name: String)
```

## Parameters

- `name`: The name of the texture atlas, without the .atlas extension.

## Return Value

Return Value A new texture atlas object.

## Discussion

Discussion If the texture atlas cannot be found, an exception is thrown.

## See Also

### Creating a Texture Atlas Programmatically

- [init(dictionary:)](spritekit/sktextureatlas/init(dictionary:).md)
