Note that there are some explanatory texts on larger screens.

plurals
  1. POIKImageBrowserItem imageRepresentationType error
    primarykey
    data
    text
    <p>Just started leaning Cocoa and its dev env, libs, etc.</p> <p>The error I'm getting:</p> <pre><code>"_IKImageBrowserNSImageRepresentationType", referenced from: -[ImageBrowserItem imageRepresentationType] in ImageBrowserItem.o ld: symbol(s) not found </code></pre> <p>Any ideas on how to fix this error? This method (imageRepresentationType) is required per the <a href="http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/IKImageBrowserItem_Protocol/IKImageBrowserItem_Reference.html" rel="nofollow">IKImageBrowserItem protocol</a>.</p> <p>The files (.h and .m) that use it are defined thusly:</p> <p>ImageBrowserItem.h:</p> <pre><code>#import &lt;Cocoa/Cocoa.h&gt; #import &lt;Quartz/Quartz.h&gt; @interface ImageBrowserItem : NSObject { NSImage *_image; NSString *_imageID; } @property (readwrite, copy) NSImage *_image; @property (readwrite, copy) NSString *_imageID; - (id) imageRepresentation; - (NSString *) imageUID; - (NSString *) imageRepresentationType; @end </code></pre> <p>ImageBrowserItem.m:</p> <pre><code>#import "ImageBrowserItem.h" @implementation ImageBrowserItem @synthesize _image; @synthesize _imageID; - (id) imageRepresentation { return _image; } - (NSString *) imageUID { return _imageID; } // This method is causing the error. /* IKImageBrowserNSImageRepresentationType is a constant defined in Apple's IKImageBrowserView.h. */ - (NSString *) imageRepresentationType { return IKImageBrowserNSImageRepresentationType; } - (void) dealloc { [_image release]; [_imageID release]; [super dealloc]; } @end </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload