Re: IKImageBrowserView drop operation always highlighting a specific row

2010-01-29 Thread Thomas Goossens
> - Tobias > > On Jan 29, 2010, at 2:24 AM, Thomas Goossens wrote: > >> Hi Tobias, >> >> The equivalent of setDropRow:dropOperation for the IKimageBrowserView is >> >> - (void) setDropIndex:(NSInteger)index >> dropOperation:(IKImageBrowserDropOpe

Re: IKImageBrowserView drop operation always highlighting a specific row

2010-01-28 Thread Thomas Goossens
Hi Tobias, The equivalent of setDropRow:dropOperation for the IKimageBrowserView is - (void) setDropIndex:(NSInteger)index dropOperation:(IKImageBrowserDropOperation)operation; available on 10.6 -- Thomas On Jan 28, 2010, at 10:01 PM, Tobias Jordan wrote: > Hey guys, > > first off thank y

Re: IKImageBrowserView managing the number of columns manually

2009-12-21 Thread Thomas Goossens
Hi Nicolas, On Dec 20, 2009, at 12:21 PM, Nicolas Berloquin wrote: > Hi ! > > I'm using an IKImageBrowserView to show a series of image captures > and it works really well. I would like to be able to manage the number > of images shown in a row in a precise way, and I'd like to know if there > i

Re: IKImageBrowserView image quality changing with redraw

2009-12-08 Thread Thomas Goossens
Hi Adam, Is this on Leopard or Snowleopard ? I just tried to load images from /System/Library/Desktop Pictures in an IKImageBrowserView using the NSImage representation. They appears just fine for me (SnowLeopard). > [Side note: I've seen reference to the prefetching behavior > of IKImageBrowse

Re: IKImageBrowserView D&D with IKImageBrowserNSDataRepresentationType

2009-12-04 Thread Thomas Goossens
ion appreciated. > > On 4 déc. 2009, at 14:48, Thomas Goossens wrote: > >> Hi Micha, >> >> Are you trying to drag from the IKImageBrowserView or into the >> IKImageBrowserView ? >> >> if from: you need to fill the pasteboard by implementing the data

Re: IKImageBrowserView D&D with IKImageBrowserNSDataRepresentationType

2009-12-04 Thread Thomas Goossens
Hi Micha, Are you trying to drag from the IKImageBrowserView or into the IKImageBrowserView ? if from: you need to fill the pasteboard by implementing the datasource method: - (NSUInteger) imageBrowser:(IKImageBrowserView *) aBrowser writeItemsAtIndexes:(NSIndexSet *) itemIndexes toPasteboard:(

Re: Custom drawing in IKImageBrowserView fails

2009-11-25 Thread Thomas Goossens
Hi Florian, You can't do custom drawing this way (because the IKImageBrowserView renders into an openGL surface, so AppKit or CoreGraphics calls won't do anything). So to do what you want you can either: - make the view layer backed and add a sub-layer - add an overlay transparent window on top o

Re: IKImageBrowserView Dragging outside

2009-10-23 Thread Thomas Goossens
//return the number of items added to the pasteboard return [filesArray count]; } -- Thomas > On Oct 23, 2009, at 6:49 PM, Thomas Goossens wrote: > >> Hi Jordan, >> >> imageBrowser:writeItemsAtIndexes:toPasteboard: is indeed the way to go. >> >> Implemen

Re: IKImageBrowserView Dragging outside

2009-10-23 Thread Thomas Goossens
Hi Jordan, imageBrowser:writeItemsAtIndexes:toPasteboard: is indeed the way to go. Implement this method in your datasource and just fill the pasteboard with the info you want (Images, paths, urls, data...) for the indexes passed in arguments. Also if you feed the imageBrowser with paths or url

Re: IKImageBrowserView only horizontal scrolling

2009-07-15 Thread Thomas Goossens
works great. The documentation says setContentResizingMask determines how the receiver resize its content when zooming... Thanks, Ralph. 2008/10/27 Thomas Goossens Hi Ralph, Use setContentResizingMask: with NSViewWidthSizable so that the IKImageBrowserView resizes its content horizontally

Re: IKImageBrowserView and mouseDragged event

2008-11-28 Thread Thomas Goossens
Sandeep, If your datasource returns paths, your view should be automatically a drag source. If your datasource returns images, I think the only thing you have to do is to implement - (NSUInteger) imageBrowser:(IKImageBrowserView *) aBrowser writeItemsAtIndexes:(NSIndexSet *) itemIndexes t

Re: IKImageBrowserView only horizontal scrolling

2008-10-27 Thread Thomas Goossens
Hi Ralph, Use setContentResizingMask: with NSViewWidthSizable so that the IKImageBrowserView resizes its content horizontally when zooming/ resizing... -- Thomas On Oct 27, 2008, at 2:06 PM, Ralph Manns wrote: Hello, is there a away to limit the number of rows to 1, so that IKImageBrows

Re: IKImageBrowser drag reordering question/problem

2008-08-19 Thread thomas goossens
Sorry, mail trashed the content of my email. re-sending it. Hi c. When using IKImageBrowserPathRepresentationType or IKImageBrowserNSURLRepresentationType, ImageKit automatically fill the pasteboard for you for convenience when you start a drag. If you use another representation you will ha

Re: IKImageBrowser drag reordering question/problem

2008-08-19 Thread thomas goossens
___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com

Re: Nesting IKImageBrowser GroupStyles

2008-07-09 Thread thomas goossens
Hi Ian, On Jul 10, 2008, at 1:07 AM, Ian wrote: The grouping feature of IKImageBrowserView seems to be one of the least documented but most powerful features I've seen in a while. The only references I can find to using groups with IKImageBrowserView all point back to the scant info in the A

Re: IKImageBrowserView spacing and contextual menus

2008-04-19 Thread thomas goossens
Hi Yann, On Apr 19, 2008, at 10:51 AM, Yann Disser wrote: Is there a way to change the spacing of the images in an IKImageBrowserView? In InterfaceBuilder? No, the only thing you can do to impact the cell-spacing is to use setCellSize and give a non square size (a size taller than larger=>

Re: IKImageBrowserView Title & Subtitle Woes

2008-04-13 Thread thomas goossens
Hi Thaddeus, To change the title attributes, use setValue:forKey with the key "IKImageBrowserCellsTitleAttributesKey" and pass a dictionary that contains the text attributes. To get the list of keys for the attribute dictionary see the section "standard attributes" of the following page: