---
title: NSAttributeType.stringAttributeType
framework: coredata
role: symbol
role_heading: Case
path: coredata/nsattributetype/stringattributetype
---

# NSAttributeType.stringAttributeType

An attribute that stores a string.

## Declaration

```swift
case stringAttributeType
```

## See Also

### Attribute types

- [NSAttributeType.binaryDataAttributeType](coredata/nsattributetype/binarydataattributetype.md)
- [NSAttributeType.booleanAttributeType](coredata/nsattributetype/booleanattributetype.md)
- [NSAttributeType.compositeAttributeType](coredata/nsattributetype/compositeattributetype.md)
- [NSAttributeType.dateAttributeType](coredata/nsattributetype/dateattributetype.md)
- [NSAttributeType.decimalAttributeType](coredata/nsattributetype/decimalattributetype.md)
- [NSAttributeType.doubleAttributeType](coredata/nsattributetype/doubleattributetype.md)
- [NSAttributeType.floatAttributeType](coredata/nsattributetype/floatattributetype.md)
- [NSAttributeType.integer16AttributeType](coredata/nsattributetype/integer16attributetype.md)
- [NSAttributeType.integer32AttributeType](coredata/nsattributetype/integer32attributetype.md)
- [NSAttributeType.integer64AttributeType](coredata/nsattributetype/integer64attributetype.md)
- [NSAttributeType.objectIDAttributeType](coredata/nsattributetype/objectidattributetype.md)
- [NSAttributeType.transformableAttributeType](coredata/nsattributetype/transformableattributetype.md)
- [NSAttributeType.undefinedAttributeType](coredata/nsattributetype/undefinedattributetype.md)
- [NSAttributeType.URIAttributeType](coredata/nsattributetype/uriattributetype.md)
- [NSAttributeType.UUIDAttributeType](coredata/nsattributetype/uuidattributetype.md)
