---
title: customTypeName
framework: classkit
role: symbol
role_heading: Instance Property
path: classkit/clscontext/customtypename
---

# customTypeName

An optional name that the system presents to the user if you choose the custom context type.

## Declaration

```swift
var customTypeName: String? { get set }
```

## Discussion

Discussion The system ignores the value of this property unless you set the context’s type property to CLSContextType.custom. If you set the type name, provide a localized value. If you use a custom context type but don’t set the type name, the system presents a default, localized string instead.

## See Also

### Managing the context type

- [type](classkit/clscontext/type.md)
- [setType(_:)](classkit/clscontext/settype(_:).md)
- [CLSContextType](classkit/clscontexttype.md)
