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

# rulerView(_:didRemove:)

Informs the client that `aRulerView` allowed the user to remove `aMarker`.

```
func rulerView(_ ruler: NSRulerView, didRemove marker: NSRulerMarker)
```

## Discussion

The client can take whatever action it needs based on this message, such as deleting a tab stop from the paragraph style or removing a layout guideline.

## See Also

[`representedObject`](/documentation/AppKit/NSRulerMarker/representedObject)

The object the receiver represents.



---

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)