Re: File name issue with German umlauts

2010-12-17 Thread Ulf Dunkel
Hi Stephen. My issue: When I search for an existing folder named äöütest, it isn't found, until I enter the search string not via keyboard to a search field in my app, but copy it from the folder name in the Finder and paste it to the search field in my app. Some code here would help figure

Re: App Will Not Terminate After Uncaught Excpetion

2010-12-17 Thread Andreas Grosam
Look up NSExceptionHandler. http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Exceptions/Tasks/ControllingAppResponse.html --Kyle Sluder The Exception-handling framework let you define the logging and handling behavior for all uncaught exceptions, system-level

Re: File name issue with German umlauts

2010-12-17 Thread Stephen J. Butler
On Fri, Dec 17, 2010 at 2:17 AM, Ulf Dunkel dun...@calamus.net wrote: Hi Stephen. My issue: When I search for an existing folder named äöütest, it isn't found, until I enter the search string not via keyboard to a search field in my app, but copy it from the folder name in the Finder and

Re: File name issue with German umlauts

2010-12-17 Thread Uli Kusterer
On 17.12.2010, at 09:27, Stephen J. Butler wrote: My *guess* is that when you type it in you get Normal-C and when you copy it from Finder you get Normal-D. But that's just a guess. Another guess is that the folder he's having an issue with maybe was created by such a wrong way and hence

Re: App Will Not Terminate After Uncaught Excpetion

2010-12-17 Thread Andreas Grosam
On Dec 17, 2010, at 9:25 AM, Andreas Grosam wrote: And NSApp does not handle these exceptions in any way - it just consumes or ignores them. correction: the NSApp's top handler will log the exception reason, then continue___ Cocoa-dev mailing

Use of mutableArrayValueForKey

2010-12-17 Thread Giannandrea Castaldi
Hi, I have a class with a NSMutableArray as readonly property and I need to execute an action when a new item is added to the array. I would like: - to use key-value observing on my NSMutableArray with the collection accessor pattern - to preserve the information hiding of my objects and then to

Re: Image conversion to RGBA colors

2010-12-17 Thread Gideon King
Thanks for that pointer Ken - that works very nicely. Regards Gideon On 17/12/2010, at 2:09 PM, Ken Ferry wrote: On Thu, Dec 16, 2010 at 7:48 PM, Gideon King gid...@novamind.com wrote: Hi, I have an arbitrary (user supplied) image, and I want to get the RGBA values of each pixel of the

Re: NSView setAlphaValue question (Update still not working)

2010-12-17 Thread Rick C.
I appreciate the help Seth. I'm sure there must be something I'm doing wrong. Here is a sample project that shows what I'm talking about. The fade buttons in the project work as expected in Snow but in Leopard no fade effect. Ok thanks again!

Re: File name issue with German umlauts

2010-12-17 Thread Ulf Dunkel
Hi Uli. Another guess is that the folder he's having an issue with maybe was created by such a wrong way and hence didn't get its name properly normalized ... might be worth trying to re-type the file name in Finder to make sure it's correct? The folder was created in Finder. No tricks,

Synchronizing to screen refresh rate

2010-12-17 Thread Jonny Taylor
Hi all, I have been reading up on an area unfamiliar to me - fullscreen drawing and display refresh rates. This is for a scientific application - we have a third party external pixellated device which presents itself as a second monitor over DVI, but with an unusually high refresh rate (about

Re: Synchronizing to screen refresh rate

2010-12-17 Thread Dave Keck
It sounds like CVDisplayLink might be of use? From CVDisplayLink.h: The main purpose of the CoreVideo DisplayLink API is to provide a worker thread to the VideoUnit subsystem that is clocked based on the refresh rate of a CGDirectDisplay device. ___

Re: NSView setAlphaValue question (Update still not working)

2010-12-17 Thread Kevin Perry
The reason why this isn't working in Leopard is simple: -setAlphaValue: for non-layer-backed views was not implemented until Snow Leopard. The documentation for -setAlphaValue: states: Sending this message to a view that is not managing a Core Animation layer causes an exception. I don't

Re: Layer hosting views, geometryFlipped, and subviews

2010-12-17 Thread Matt Neuburg
On Fri, 17 Dec 2010 07:03:52 +1000, Gideon King gid...@novamind.com said: The whole core animation stuff does feel a bit raw when you really try using it seriously Just to be clear, keep in mind what Kyle said at the outset. He didn't actually say Core Animation is, of itself, broken or

Re: UINavigationController in Popover

2010-12-17 Thread Matt Neuburg
On Thu, 16 Dec 2010 14:37:00 -0600, Gordon Apple g...@ed4u.com said: I've Googled this and have seen that others have had this problem, but no good solutions. When using a UINavigationController in a popover, where the content can be different sizes, the nav controller seems to always wants to

List Help

2010-12-17 Thread koko
With the tremendous support this list provides we were able to release a public bets of an exclusive product last evening. It is the only product of its kind for Mac and the response has been overwhelming ... a 6% download and registration from our base in the first two hours! The

Re: File name issue with German umlauts

2010-12-17 Thread Lee Ann Rucker
On Dec 17, 2010, at 12:27 AM, Stephen J. Butler wrote: On Fri, Dec 17, 2010 at 2:17 AM, Ulf Dunkel dun...@calamus.netmailto:dun...@calamus.net wrote: Hi Stephen. My issue: When I search for an existing folder named äöütest, it isn't found, until I enter the search string not via keyboard to a

Re: NSView setAlphaValue question (Update still not working)

2010-12-17 Thread Seth Willits
On Dec 17, 2010, at 3:19 AM, Rick C. wrote: I appreciate the help Seth. I'm sure there must be something I'm doing wrong. Here is a sample project that shows what I'm talking about. The fade buttons in the project work as expected in Snow but in Leopard no fade effect. Ok thanks again!

Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker

2010-12-17 Thread Flavio Donadio
mmalc, Lesson learnt, but I took that code directly from Apple. Check Movie 11 on this page: http://developer.apple.com/cocoa/coredatatutorial/index.html I think the code you suggested would work better and is even more readable. Thanks for the tip! Cheers, Flavio On 12/16/2010, at

Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker

2010-12-17 Thread Flavio Donadio
mmalc, I meant Movie 13. Cheers, Flavio On 17/12/2010, at 19:24, Flavio Donadio wrote: mmalc, Lesson learnt, but I took that code directly from Apple. Check Movie 11 on this page: http://developer.apple.com/cocoa/coredatatutorial/index.html I think the code you suggested would

Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker

2010-12-17 Thread mmalc Crawford
On Dec 17, 2010, at 1:24 pm, Flavio Donadio wrote: Lesson learnt, but I took that code directly from Apple. Check Movie 11 on this page: http://developer.apple.com/cocoa/coredatatutorial/index.html That's an overview tutorial from several years ago, prior to the introduction of

Re: NSView setAlphaValue question (Update still not working)

2010-12-17 Thread Rick C.
Thank you both for the replies. Ok so what I needed to do (in this case) was use NSViewAnimation and that was my mistake. I appreciate very much the assistance and helping me learn something new! :-) rc On Dec 18, 2010, at 4:25 AM, Seth Willits wrote: On Dec 17, 2010, at 3:19 AM, Rick C.

Re: File name issue with German umlauts

2010-12-17 Thread Adam R. Maxwell
On Dec 17, 2010, at 12:08 , Lee Ann Rucker wrote: We do this to check whether two URLs really refer to the same file (you can also hit issues when using NSString path manipulation to build paths and then turn them into URLs): FWIW, we had this problem also. IIRC we were creating NSURLs

Re: Use of mutableArrayValueForKey

2010-12-17 Thread Ken Thomases
On Dec 17, 2010, at 3:42 AM, Giannandrea Castaldi wrote: I have a class with a NSMutableArray as readonly property and I need to execute an action when a new item is added to the array. I would like: - to use key-value observing on my NSMutableArray with the collection accessor pattern - to

xcodebuild errors during running from under makefiles

2010-12-17 Thread Alexander Zvyagin
Hello, All! If xcodebuild utility tell about a strange errors while running from inside makefiles like following: xcodebuild stdout Couldn't discover the 'gcc-4.2' compiler's built-in search paths ... Compiler: /Developer/Library/Xcode/Plug-ins/GCC

preventing a window to restore from dock on clicking

2010-12-17 Thread deovrat singh
Hi, I want to temporarily prevent one of my application window to restore from dock on clicking. I was planning to change the window style mask for this,but setStyleMask is not available in 10.5 . Is there alternate way to do this in cocoa? Thanks. -- Deovrat

Re: File name issue with German umlauts

2010-12-17 Thread Clark Cox
On Fri, Dec 17, 2010 at 12:08 PM, Lee Ann Rucker lruc...@vmware.com wrote: On Dec 17, 2010, at 12:27 AM, Stephen J. Butler wrote: On Fri, Dec 17, 2010 at 2:17 AM, Ulf Dunkel dun...@calamus.netmailto:dun...@calamus.net wrote: Hi Stephen. My issue: When I search for an existing folder