ikimagebrowserview

Telling IKImageBrowserView not to schedule preloading

For our rewrite of the open-source iMedia framework project (in use currently by dozens of developers), we are switching to IKImageBrowserView, and having a troubling time with caching. It appears that IKImageBrowserView likes to preload/prefetch a cache of images, as a low-priority background task, as many not-yet-visible items that it...

How to interpret trackpad pinch gestures to zoom IKImageBrowserView

I have an IKImageBrowserView that I want to be able to pinch-zoom using a multi-touch trackpad on a recent Mac laptop. The Cocoa Event Handling Guide, in the section Handling Gesture Events says: The magnification accessor method returns a floating-point (CGFloat) value representing a factor of magnification ..and goes on to show ...

How can I implement a thumbnail-based view for user selection in Cocoa?

Hi, I have what I thought was a pretty simple need but I'm not sure how to go about implementing it. At various points in my interface, the user is asked to make a selection of something rather visual (like choosing a layout for a page or a color option.) These selections are made from a pre-defined set of options. Normally you'd use an...

Observing NSUserDefaultsController not working when bound properties are set

Here's the setup: I have a subclass of IKImageBrowserView whose zoomValue property is bound to a key VFBrowserZoomValue in the shared NSUserDefaultsController. I have an NSSlider whose value binding is bound to the same key. This works perfectly to change the zoomValue of the browser from the slider. I'm trying to implement -magnifyWi...

Delete Drag and Drop Behavior of IKImageBrowserView

Hi Everyone: By default (it seems), IKImageBrowserView enables drag and drop to locations in the Finder. I would like to turn off this behavior but am unsure of how to do so. I was thinking that perhaps implementing the NSDraggingDestination protocol and overriding it could solve this, but so far it hasn't worked for me. Thanks for a...

IKImageBrowserView appears to not bind properly

Hello, my question relates to Interface Builder and an IKImageBrowserView not implementing bindings as I would expect. I have a fairly long key path to get to an NSArrayController, the contents of which I want to display in the IKImageBrowserView. This is the key path I am binding an NSTextField's Display Pattern binding to: currentOrd...

IKImageBrowserView caching question

Hello, I'm using the IKImageBrowserView by supplying it with image objects myself. When the browserview requests for an image, in other languages, i'd check if i have it cached somewhere and return it if i do. Otherwise, i'd load, cache it and then return it. But in cocoa it seems that the IKImageBrowserView caches the images itself. So...

IKImageBrowserView Thumbnail Problem

Hello, everyone. I download IKImageBrowserView sample named "IKImageKit Demo" from Apple official website. But I find a problem. For example: When I import images from folder named "A", then I delete an image. Then I import other image (name as same as the deleted image), the thumbnail in IKImageBrowser will not change. How could...

Cocoa: How do you make the background of an IKImageBrowserView transparent?

How do you make the background of an IKImageBrowserView transparent? There seems to be no background color option in interface builder. What I've tried: I've never used Core Animation, but I saw IKImageBrowserView has a setBackgroundLayer method, so I tried the following, which had no effect: CALayer* layer = [CALayer layer]; [layer...

CALayer flickering when adding a foreground layer to IKImageBrowserView items with garbage collection on

I'm trying to implement a technique similar to the one in the ImageBrowserViewAppearance sample code from Apple (located here: http://developer.apple.com/library/mac/#samplecode/ImageBrowserViewAppearance/Introduction/Intro.html ), where CALayers are generated on top of the items in the IKImageBrowserView to customize the appearances of ...

IKImageBrowserView and ImageTitle

Hi All I have a imagebrowserview displaying a folder full of photo correctly but its not showing the image title of each of the photo ... is there a tutorial to show me how this works? Regards AGW ...

Animating CALayer in IKImageBrowserCell

Hi, I've got a custom image browser view with IKImageBrowserCell subclass where I've added a little sign graphic that I would like to animate on some occasions. It's kind of like the "i" sign on Panic's Coda Sites view (which I'm guessing is an ImageBrowserView customized.. right?). On Coda's sites view, if you hover on a project the l...