IBViewResourceDragging documentation

Authors

Generated by buildd

Contents -

  1. Software documentation for the NSView(IBViewResourceDraggingDelegates) category
  2. Software documentation for the IBViewResourceDraggingDelegates protocol

Software documentation for the NSView(IBViewResourceDraggingDelegates) category

NSView(IBViewResourceDraggingDelegates)

Declared in:
InterfaceBuilder/IBViewResourceDragging.h
Informal protocol on NSView.
Method summary

acceptedViewResourcePasteboardTypes 

+ (NSArray*) acceptedViewResourcePasteboardTypes;
Types accepted by the view.

registerViewResourceDraggingDelegate: 

+ (void) registerViewResourceDraggingDelegate: (id<IBViewResourceDraggingDelegates>)delegate;
Register a delegate.

registeredViewResourceDraggingDelegates 

+ (NSArray*) registeredViewResourceDraggingDelegates;
Return the list of registered delegates.

unregisterViewResourceDraggingDelegate: 

+ (void) unregisterViewResourceDraggingDelegate: (id<IBViewResourceDraggingDelegates>)delegate;
Remove a previously registered delegate.

Software documentation for the IBViewResourceDraggingDelegates protocol

IBViewResourceDraggingDelegates

Declared in:
InterfaceBuilder/IBViewResourceDragging.h
Protocol describing those methods needed to accept resources.
Method summary

acceptsViewResourceFromPasteboard: forObject: atPoint: 

- (BOOL) acceptsViewResourceFromPasteboard: (NSPasteboard*)pb forObject: (id)obj atPoint: (NSPoint)p;
Ask if the view accepts the object.

depositViewResourceFromPasteboard: onObject: atPoint: 

- (void) depositViewResourceFromPasteboard: (NSPasteboard*)pb onObject: (id)obj atPoint: (NSPoint)p;
Perform the action of depositing the object.

shouldDrawConnectionFrame 

- (BOOL) shouldDrawConnectionFrame;
Should we draw the connection frame when the resource is dragged in?

viewResourcePasteboardTypes 

- (NSArray*) viewResourcePasteboardTypes;
Types of resources accepted by this view.