Notification when network volume disappears

2010-06-14 Thread Boris Prohaska
Hi guys, i was just wondering, is there any way to determine when for example a network cable is plugged off while copying data to a network share? The Finder has a pretty long timeout... Is there a way in the FS API or ANY other way to get notified, when a volume isn't available for writing

Re: Notification when network volume disappears

2010-06-14 Thread Boris Prohaska
:52 AM, Boris Prohaska wrote: i was just wondering, is there any way to determine when for example a network cable is plugged off while copying data to a network share? The Finder has a pretty long timeout... Is there a way in the FS API or ANY other way to get notified, when a volume

drawRect method not called after several hours...

2009-11-23 Thread Boris Prohaska
Hi guys... this is a tricky one. My application is intended to run for serveal hours/days/weeks. It does GUI updates multiple times a second. But after several hours/days the drawRect: method is stopped beeing called on _all_ views. The application still does what it is supposed to do, but

Re: drawRect method not called after several hours...

2009-11-23 Thread Boris Prohaska
period). Getting in the logs to suggest an exception? Mike. On 23 Nov 2009, at 12:30, Boris Prohaska wrote: Hi guys... this is a tricky one. My application is intended to run for serveal hours/days/weeks. It does GUI updates multiple times a second. But after several hours/days

Core Animation faulty behaviour?

2009-05-26 Thread Boris Prohaska
Hi guys... i'm new to Core Animation. What i want is a simple dissolve between two images. In the Code below you can see what i'm doing. //self = a NSButton subclass recordButton = [CALayer layer]; [self setWantsLayer:YES]; [self.layer

serialPortSample... hang on read function

2009-02-17 Thread Boris Prohaska
Hi Guys... i hope someone can help me out here. In the serialPortSample.h on line 517 in the InitializeModem(); function there is this classic read command. But when no modem is here or the cable is unplugged, it hangs there for an infinite amount on time. My question is rather simple:

Re: NSOutlineView developer example

2008-09-04 Thread Boris Prohaska
not happen. Instead, i get a single row with the last path component with NO triange on the side, so this is kind of useless. Does anyone know why this happens? Thanks Boris Am 04.09.2008 um 01:35 schrieb Graham Cox: On 4 Sep 2008, at 3:42 am, Boris Prohaska wrote: but this still doesn't work

NSOutlineView developer example

2008-09-03 Thread Boris Prohaska
Hi Guys, i tried to understand the NSOutlineView developer example which is in /Developer/Examples/AppKit/OutlineView. It simply shows the entire filesystem. I tried to alter it, so it shows any relative path of the filesystem, but whatever i do, it does not work. Does anybody have an idea,

Re: Re: NSOutlineView developer example

2008-09-03 Thread Boris Prohaska
Hi, try to change the path and look what happens. It does not work. Boris Am 03.09.2008 um 16:49 schrieb Benjamin Stiglitz: Hi Guys, i tried to understand the NSOutlineView developer example which is in /Developer/Examples/AppKit/OutlineView. It simply shows the entire filesystem. I tried

Re: NSOutlineView developer example

2008-09-03 Thread Boris Prohaska
So i tried to change te path in the +[FileSystemItem rootItem] method, but this still doesn't work. Has anyone any ideas? Thanks for help Boris Am 03.09.2008 um 17:07 schrieb Boris Prohaska: Hi, try to change the path and look what happens. It does not work. Boris Am 03.09.2008 um 16:49

Read PSD-Layers with NSImage

2008-06-14 Thread Boris Prohaska
Hi, I'm totally new to Cocoa and Objective-C, i have read Cocoa Programming for MAC OS X, it answers a lot, but not everything :-). I searched the documentation, but i can't find any methods which read PSD-Layers. OS X reads psd's natively, so i'm curious where that functions/methods are.