FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSAImageWell Class Reference

Real image well, described as image well in Interface Builder - allow a user to drag an image to it. More...

#import <NSAImageWell.h>

Inheritance diagram for NSAImageWell:

Protected Attributes

id< NSAImageWellDelegate_delegate
 
NSURL * _imageURL
 
NSMutableArray * _imageURLs
 
NSMutableArray * _nonImageURLs
 
BOOL _acceptsStringDragging
 
struct {
   int   delegateDidDraggingEntered: 1
 
   int   delegateDidDraggingExited: 1
 
   int   delegateWillReceiveDragging: 1
 
   int   delegateDidReceiveDragging: 1
 
   int   delegateShouldAcceptURLString: 1
 
_imageWellFlags
 

Properties

BOOL acceptsStringDragging
 The acception state of the string dragging. More...
 
NSURL * imageURL
 The URL of dragged image. More...
 
IBOutlet id< NSAImageWellDelegatedelegate
 The image well's delegate. More...
 

Detailed Description

Real image well, described as image well in Interface Builder - allow a user to drag an image to it.

See also
NSImageView
NSDraggingDestination

Member Data Documentation

- (BOOL) _acceptsStringDragging
protected
- (id<NSAImageWellDelegate>) _delegate
protected
- (NSURL*) _imageURL
protected
- (NSMutableArray*) _imageURLs
protected
struct { ... } NSAImageWell::_imageWellFlags
- (NSMutableArray *) _nonImageURLs
protected
- (int) delegateDidDraggingEntered
protected
- (int) delegateDidDraggingExited
protected
- (int) delegateDidReceiveDragging
protected
- (int) delegateWillReceiveDragging
protected

Property Documentation

- (BOOL) acceptsStringDragging
readwritenonatomicassign

The acception state of the string dragging.

YES if image well accepts string dragging; otherwise NO. Default is NO. If delegate response to imageWellShouldAcceptURLString: (NSAImageWellDelegate-p), this value is ignored.

- (IBOutlet id<NSAImageWellDelegate>) delegate
readwritenonatomicstrong

The image well's delegate.

- (int) delegateShouldAcceptURLString
atomicprotected
- (NSURL*) imageURL
readwritenonatomiccopy

The URL of dragged image.


The documentation for this class was generated from the following file: