<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/noteFocusRingMaskChanged()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSView(im)noteFocusRingMaskChanged"
  },
  "title" : "noteFocusRingMaskChanged()"
}
-->

# noteFocusRingMaskChanged()

Invoked to notify the view that the focus ring mask requires updating.

```
func noteFocusRingMaskChanged()
```

## Discussion

It is important to note that it is only necessary for developers to invoke this method when some internal state change of their application, that AppKit can’t determine, affects the shape of the focus ring mask.

It is assumed that if the view is marked as needing display, or is resized, its focus ring shape is likely to have changed, and there is no need for clients to explicitly send this message in such cases, they are handled automatically.

If, however, a view is showing a focus ring around some part of its content (an `NSImage`, perhaps), and that content changes, the client must provide notification by invoking this method so that [`focusRingMaskBounds`](/documentation/AppKit/NSView/focusRingMaskBounds) and [`drawFocusRingMask()`](/documentation/AppKit/NSView/drawFocusRingMask()) will be invoked to redraw the focus ring.

---

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)