NSView
E849987
NSView is the fundamental visual building block for user interfaces in macOS applications, representing a rectangular region responsible for drawing and event handling.
Statements (63)
| Predicate | Object |
|---|---|
| instanceOf |
AppKit class
ⓘ
Cocoa class ⓘ Objective-C class ⓘ |
| conformsToProtocol |
NSAccessibility
NERFINISHED
ⓘ
NSAppearanceCustomization NERFINISHED ⓘ NSDraggingDestination NERFINISHED ⓘ NSPasteboardReading NERFINISHED ⓘ NSPasteboardWriting NERFINISHED ⓘ NSUserInterfaceItemIdentification NERFINISHED ⓘ |
| definedInFramework | AppKit NERFINISHED ⓘ |
| definedInModule | AppKit NERFINISHED ⓘ |
| hasMethod |
acceptsFirstResponder
ⓘ
addSubview: ⓘ convertPoint:fromView: ⓘ convertPoint:toView: ⓘ drawRect: ⓘ hitTest: ⓘ layout ⓘ mouseDown: ⓘ mouseMoved: ⓘ mouseUp: ⓘ removeFromSuperview ⓘ setNeedsDisplay: ⓘ setNeedsLayout: ⓘ viewDidMoveToSuperview ⓘ viewDidMoveToWindow ⓘ |
| hasProperty |
alphaValue
ⓘ
autoresizingMask ⓘ bounds ⓘ constraints ⓘ frame ⓘ hidden ⓘ identifier ⓘ isFlipped ⓘ layer ⓘ needsDisplay ⓘ subviews ⓘ superview ⓘ translatesAutoresizingMaskIntoConstraints ⓘ wantsLayer ⓘ window ⓘ |
| inheritsFrom | NSResponder NERFINISHED ⓘ |
| introducedForPlatform | macOS NERFINISHED ⓘ |
| isSuperclassOf |
NSCollectionView
NERFINISHED
ⓘ
NSControl NERFINISHED ⓘ NSImageView NERFINISHED ⓘ NSScrollView NERFINISHED ⓘ NSTableView NERFINISHED ⓘ NSTextView NERFINISHED ⓘ |
| primaryRole | fundamental visual building block for macOS user interfaces ⓘ |
| represents | rectangular region ⓘ |
| supports |
Auto Layout
ⓘ
Core Animation integration ⓘ accessibility ⓘ drag and drop ⓘ layer-backed views ⓘ |
| usedFor |
animation
ⓘ
coordinate system management ⓘ drawing ⓘ event handling ⓘ hit testing ⓘ layout ⓘ |
| usedIn | macOS applications ⓘ |
Referenced by (2)
Full triples — surface form annotated when it differs from this entity's canonical label.