Questions tagged [ikimagebrowserview]

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

95 questions
1
vote
1 answer

customizing IKImageBrowserView group appearance

I am trying to change the appearance of the group header of an IKImageBrowserView. I've seen that we can provide an custom CALayer with IKImageBrowserGroupHeaderLayer but I do not know at all how to use it (how to get the size of the layer, know if…
AP.
  • 5,205
  • 7
  • 50
  • 94
1
vote
0 answers

Adding a NSButton as a subview over IKImageFlowView

I am using IKImageFlowView in my application and need to add a nsbutton over it, I am using the code as given below, In my .h file IBOutlet id browserView; in nib added a custom view and changed its class as myImageFlowView as I am subclassing from…
ahmadbaig
  • 1,056
  • 1
  • 8
  • 9
1
vote
1 answer

Reduce size of images in cocoa application

I have some 1000 images in my project,total size of the images is around 400MB. I am using this images to display thumbnail representation on MAc. After building xcode,My Application build size is 410MB.I am using NSImage imageNamed api to access…
ahmadbaig
  • 1,056
  • 1
  • 8
  • 9
1
vote
1 answer

How to enable dragging on specific items of an IKImageBrowserView?

I'm using an IKImageBrowserView for a mac application I'm currently developing and wants to enable dragging inside the IKImageBrowserView so I've used – setAllowsDroppingOnItems: but unfortunately this doesn't allow me to specify which items are…
must
  • 226
  • 2
  • 10
1
vote
1 answer

Finder like IKImageBrowserCell

I am trying to customize an IKImageBrowserCell to have something close to the Finder. For the moment my issue is to have a title in 2 lines. Do you have any experience of what need to be modified in order to achieve this? Thanks and regards,
AP.
  • 5,205
  • 7
  • 50
  • 94
1
vote
1 answer

Adding vertical scrolling for IKImageBrowserView that is created programmatically

I would like to create a Cocoa library Test.dylib that provides Icon view using IKImageBrowserView. I cannot create IKImageBrowserView in nib since dylib does not support Resources. So, I am creating the IKImageBrowserView programmatically as…
spd
  • 2,114
  • 1
  • 29
  • 54
1
vote
2 answers

How come IKImageBrowserView can resize images so much faster than I can?

This is my image resize code: CALayer *newCALayer = [[CALayer layer] retain]; NSImage* image = [[NSImage alloc] initWithData:[NSData dataWithContentsOfFile:path]]; CGImageRef newCGImageFullResolution = [image CGImageForProposedRect:nil context:nil…
Torkel
  • 88
  • 6
1
vote
1 answer

IKImageBrowser Background Image Issue

I have a NSView hierarchy that is causing issues. I'd like to apply a static (fixed) patterned image in the background of an IKImageBrowser. My view hierarchy is like so: NSWindow -> Content View ->-> MyCustomView ->->-> NSScrollView ->->->->…
mootymoots
  • 4,545
  • 9
  • 46
  • 74
1
vote
1 answer

IKImageBrowserView Moving items doesn't animate

I have an IKImageBrowser setup which appears to be working well. I have set it up to allow reordering and also set animation to YES (in my awakeFromNib), however whenever I select and try and reorder the images I get strange behaviour: 1) They don't…
mootymoots
  • 4,545
  • 9
  • 46
  • 74
1
vote
2 answers

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…
1
vote
1 answer

draggingEntered: called but performDragOperation: not on IKImageBrowserView

I'am using the IKImageBrowserView with setting a drop deleagte [self.imageBrowserView setDraggingDestinationDelegate:self]; No matter what i return in draggingEntered: the performDragOperation: gets never called -…
Peter Lapisu
  • 19,915
  • 16
  • 123
  • 179
1
vote
0 answers

IKImageBrowserView example?

Are there any examples how to use IKImageBrowserView in Swift? So far I think it works a bit like the implementation of an UITableView on iOS. It needs a method to tell it how much items it should display and another method returning those items at…
aliks123
  • 11
  • 5
1
vote
0 answers

Xcode crashes on Autocomplete when working on a subclass of IKImageBrowserView

I'm working on a project by trying to subclass Apple's IKImageBrowserView. Everytime when Xcode shows the autocomplete suggestions which has something to do with this class the IDE crashes, both on my MacBook and my iMac. Am I doing something wrong?…
Andreas Utzinger
  • 392
  • 2
  • 12
1
vote
0 answers

IKImageBrowserView thumbnail resize on reload

I'm using IKImageBrowserView to display a list of images, but some images are smaller than the size of the cell. At the first opening the thumbnails are ok but after a imageVersion++ and reloadData the thumbnails for the small images are resizing to…
Mihai Panţiru
  • 513
  • 3
  • 16
1
vote
0 answers

Rotate image in IKImageBrowserView. Cocoa/Objective C

Im looking for your help, with Cocoa IKImageBrowserView. I have that browser, and images inside that. The images are taken from the folder that I do provide to it. Kinda like that: [importedImages removeAllObjects]; [images…
PolosatiyVjih
  • 269
  • 3
  • 12