---
title: focused
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibarbuttonitemappearance/focused
---

# focused

The appearance data to apply to the button when it’s focused.

## Declaration

```swift
var focused: UIBarButtonItemStateAppearance { get }
```

## Discussion

Discussion To set the attributes for this state, get the object in this property and modify it.

## See Also

### Configuring attributes for different button states

- [normal](uikit/uibarbuttonitemappearance/normal.md)
- [disabled](uikit/uibarbuttonitemappearance/disabled.md)
- [highlighted](uikit/uibarbuttonitemappearance/highlighted.md)
