Re: Editing NSOutlineView Group Item

2014-11-04 Thread Luther Baker
I was hoping these changes would do it ... but unfortunately, I'm still getting nothing You'll notice the logging below - I can confirm that the address of and object *selected* is the exact same address of and object I am *reloading*. Furthermore, the description logging from outlineViewSele

Re: Editing NSOutlineView Group Item

2014-11-04 Thread Luther Baker
Here is the chain of calls -- although not ostensibly helpful. I have 2 items in my outline view - if I select, edit and then try to reload the item at index=1. /// outlineView:isItemExpandable: - item=selected item - returns NO outlineView:child:item - item=nil, index=1 - returns the select

movableByWindowBackground

2014-11-04 Thread Torsten Curdt
I have a NSWindow that has movableByWindowBackground set. Now I want to add a NSImageView but have the window be draggable also at the area covered by the view. My first though was to override hitTest: - but that didn't seem to work. Any pointers? cheers, Torsten

Re: movableByWindowBackground

2014-11-04 Thread edward taffel
have you tried returning NO for acceptsFirstResponder on the NSImageView? > On Nov 4, 2014, at 10:04 AM, Torsten Curdt wrote: > > I have a NSWindow that has movableByWindowBackground set. Now I want to add > a NSImageView but have the window be draggable also at the area covered by > the view.

Re: movableByWindowBackground

2014-11-04 Thread edward taffel
i meant acceptsFirstMouse. > On Nov 4, 2014, at 10:17 AM, edward taffel wrote: > > have you tried returning NO for acceptsFirstResponder on the NSImageView? > > >> On Nov 4, 2014, at 10:04 AM, Torsten Curdt > > wrote: >> >> I have a NSWindow that has movableByWindowB

Re: movableByWindowBackground

2014-11-04 Thread Ken Thomases
On Nov 4, 2014, at 9:04 AM, Torsten Curdt wrote: > I have a NSWindow that has movableByWindowBackground set. Now I want to add > a NSImageView but have the window be draggable also at the area covered by > the view. > > My first though was to override hitTest: - but that didn't seem to work. >

NSImage glowing

2014-11-04 Thread Alex Kac
I have an NSImage that looks like in a mini-toolbar - kind of like Xcode. Now of course I can just create a hand-drawn selected version, but I like doing things like that in code. So I’d like to have code that takes the NSImage and makes it glow like Xcode here: https://www.dropbox.com/s/by642

Re: NSImage glowing

2014-11-04 Thread Alex Zavatone
I can't see the image, but what about a gaussian blur on a white outline of the icon with a 20% white UIColor on the background with a 5 pixel blur radius? Dropbox is blocked from my current location Sent from my iPad. Please pardon typos. On Nov 4, 2014, at 1:41 PM, Alex Kac wrote: > I have

Re: Editing NSOutlineView Group Item

2014-11-04 Thread Quincey Morris
> I have 2 items in my outline view - if I select, edit and then try to reload > the item at index=1. Here is new information. What does “edit” mean? Are you talking about editing the text in the row in the outline view, or editing properties of the object represented by the row elsewhere in t

Re: NSImage glowing

2014-11-04 Thread Lee Ann Rucker
If you want the same blue highlight that NSButton applies to template images, you can get the NSButtonCell to draw it into a graphics context and get an image that way - I answered this when you asked about buttons specifically back in June. (My bug requesting an NSImage method to do that is sti

Re: Editing NSOutlineView Group Item

2014-11-04 Thread Luther Baker
I've created a project on github that essentially duplicates the problem I'm having. $ git clone https://github.com/EffectiveProgramming/LBOutlineViewDemo.git If you have time, please feel free to check it out and let me know if you can see what I'm doing wrong. Thanks, -Luther On Tue, Nov

Re: Background CIFilter processing?

2014-11-04 Thread Carl Hoefs
Thanks for the pointers, Tamas! Got it working by using [NSCIImageRep imageRepWithCIImage:] and then [NSImage addRepresentation:] -Carl On Nov 3, 2014, at 2:18 PM, Tamas Nagy wrote: > Well, no Video Input patch is exists with CIFilters, maybe you are talking > about Quartz Composer? > > Anyw

dispatch_source does not work

2014-11-04 Thread Gerriet M. Denkmann
I want to monitor a file for changed content. Polling is generally not a good idea, so I tried dispatch_source. But it does not work. Here the code: static NSString *const kTestPath= @"/tmp/a.test"; - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {

Re: Background CIFilter processing?

2014-11-04 Thread Tamas Nagy
Great, you’re welcome! Tamas > On 05 Nov 2014, at 05:55, Carl Hoefs wrote: > > Thanks for the pointers, Tamas! Got it working by using [NSCIImageRep > imageRepWithCIImage:] and then [NSImage addRepresentation:] > > -Carl > > On Nov 3, 2014, at 2:18 PM, Tamas Nagy

Re: dispatch_source does not work

2014-11-04 Thread Peter
http://stackoverflow.com/questions/12343833/cocoa-monitor-a-file-for-modifications/26304208#26304208 has some info on this. ___ Peter Hartmann mailto:hphartm...@justmail.de Am 05.11.2014 um 07:50 schrieb Gerriet M. Denkmann : > I want to monitor a file for changed content. > Polling

Re: dispatch_source does not work

2014-11-04 Thread Kyle Sluder
On Wed, Nov 5, 2014, at 12:50 AM, Gerriet M. Denkmann wrote: > I want to monitor a file for changed content. > Polling is generally not a good idea, so I tried dispatch_source. > > But it does not work. > > Here the code: > > static NSString *const kTestPath= @"/tmp/a.test"; > >