<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSRuleEditor/PredicatePartKey/customSelector",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSRuleEditorPredicateCustomSelector"
  },
  "title" : "customSelector"
}
-->

# customSelector

The corresponding value is an `NSString` object representing a custom selector.

```
static let customSelector: NSRuleEditor.PredicatePartKey
```

## Discussion

If specified, this overrides the operator type, options, and comparison modifier.

---

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)