Questions tagged [ikimagebrowserview]

IKImageBrowserView is a Image Kit View for the Cocoa Framework on Mac OS X 10.5 and above.

95 questions
8
votes
1 answer

IKImageBrowserView inside padding

I'm customizing an IKImageBrowserView and I would like to change the space between cells. I'm using this method [_imageBrowser setIntercellSpacing:NSMakeSize(0, 0)] to set the spacing between cells to 0 pixels and it works. But I notice an inside…
kaal101
  • 654
  • 7
  • 14
8
votes
2 answers

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…
Fraser Speirs
  • 4,642
  • 3
  • 21
  • 15
6
votes
0 answers

IKImageBrowserView lazy loading?

In order to work with the IKImageBrowserView, one must implement a datasource with the following methods – numberOfItemsInImageBrowser: – imageBrowser:itemAtIndex: This is not dissimilar to NSTableView, which has the following datasource methods –…
Tony
  • 36,591
  • 10
  • 48
  • 83
6
votes
1 answer

IKImageBrowserView on retina screen

Has anyone successfully used an IKImageBrowserView with a Retina Mac? What I get is that the image size is wildly misinterpreted. Previously I was using CGImage images which don't have a logical size, so it makes sense that the browser can't draw…
Frederik Slijkerman
  • 6,471
  • 28
  • 39
6
votes
1 answer

Dealing with layer-backed IKImageBrowserView, Z-ordering and other concerns

I am working on a project that needs to: have a transition animation from a view that contains an IKImageBrowserView to another view; have a hover overlay on each IKImageBrowserCell as the mouse moves across the view; and have an NSView overlap a…
5
votes
0 answers

cocoa IKImageBrowserView memory management

I use IKImageBrowserView in my application, if I add many photos on it application stops working and in profiler I see allocated memory is too high.. I need to optimize it somehow . here is my BrowserItem : public class BrowseItem :…
4
votes
1 answer

IKImageBrowserView: how to display tooltip for every item?

I digged in documentation but didn't find how to do. How can I add tooltip for every item in IKImageBrowserView?
pierocampanelli
  • 960
  • 5
  • 19
4
votes
1 answer

Can IKImageBrowserView display multi-line titles?

I'd like my IKImageBrowserView to display long titles by wrapping them and displaying them in multiple lines, but I've been unable to achieve this. I've tried changing the size of the titleFrame returned in the ImageBrowserCell subclass and also…
Dale Beck
  • 86
  • 4
4
votes
1 answer

Animating CALayer in IKImageBrowserCell

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…
Ben
  • 20,737
  • 12
  • 71
  • 115
4
votes
2 answers

Delete Drag and Drop Behavior of IKImageBrowserView

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…
individualtermite
  • 3,615
  • 16
  • 49
  • 78
3
votes
1 answer

High memory usage on iKImageBrowserView (or create memory quality thumbnail?)

In my mac application I'm currently developing, I have an iKImageBrowserView which displays something like 500/1000 Images. Turning off image display, memory consumption is very low around 50 MB. Turning on image display, memory consumption is very…
pierocampanelli
  • 960
  • 5
  • 19
3
votes
1 answer

Adding an NSControl to IKImageBrowserCell

I've built a custom IKImageBrowserCell which is displaying my images in an IKImageBrowser without any issues. I'd like to try and override the built in IKImageBrowser delete image functionality. Currently 'out of the box' you can select an image, or…
mootymoots
  • 4,545
  • 9
  • 46
  • 74
3
votes
1 answer

Setting IKImageBrowserView to one long row

I've got a IKImageBrowserView in an NSScrollView and I want to lay it out so it only scrolls from left to right. By default the IKImageBrowserView lays out the images in a grid and the width is being correctly constrained but it's always increasing…
BenL0
  • 277
  • 1
  • 9
3
votes
3 answers

(Cocoa) NSScrollView with IKImageBrowserView scrolls to bottom

I am using an IKImageBrowserView to show a grid of images. I do not have any code that sets points or offsets or scrolls anything programmatically. I simply have code that lists the contents of a directory full of images and displays them in the…
WrightsCS
  • 50,551
  • 22
  • 134
  • 186
3
votes
1 answer

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…
danwood
  • 1,512
  • 1
  • 10
  • 27
1
2 3 4 5 6 7