<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSImage/init(symbolName:bundle:variableValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSImage(cm)imageWithSymbolName:bundle:variableValue:"
  },
  "title" : "init(symbolName:bundle:variableValue:)"
}
-->

# init(symbolName:bundle:variableValue:)

Creates a symbol image with the specified symbol name and variable value.

```
convenience init?(symbolName name: String, bundle: Bundle?, variableValue value: Double)
```

## Parameters

`name`

The name of the symbol image.

`bundle`

The bundle containing the image file or asset catalog.

`value`

The value the system uses to customize the symbol’s content, between `0` and `1`.

## Discussion

The `value` parameter is valid for symbols that support variable rendering.

---

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)