---
title: SecItemAttr.scriptCodeItemAttr
framework: security
role: symbol
role_heading: Case
path: security/secitemattr/scriptcodeitemattr
---

# SecItemAttr.scriptCodeItemAttr

Identifies the script code attribute.

## Declaration

```swift
case scriptCodeItemAttr
```

## Discussion

Discussion You use this tag to set or get a value of type ScriptCode that represents the script code for all strings. Use of this attribute is deprecated; string attributes should always be stored in UTF-8 encoding.
