Is it possible to change the color of selected columns in NSTableView?

2010-01-07 Thread Andreas Känner
Hi, I want to change the default dark blue color for selected columns in NSTableView to a light gray. Is this possible at all? Best regards, Andreas ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mode

Stopping ODQuery (OpenDirectory Framework) takes a long time (unusable)

2009-09-28 Thread Andreas Känner
Hi, I want to search for LDAP contacts by using the new OpenDirectory Framework API but this is not possible because I can't stop a query immediately. I need to stop it when the user types in a different search string. So I can setup a new query. To make things worse this is all happening

Adding more and more key/value observers is much too slow - workaround needed.

2009-08-03 Thread Andreas Känner
Hi, If you add more and more key/value observers with addObserver:forKeyPath:options:context: this call takes longer and longer in a non-linear way. I posted a bug report today (ID: 7112953) but maybe someone already has a workaround. Here is my sample code: #include @interface ModelO

Re: Synthesized instance variables

2009-03-12 Thread Andreas Känner
Am 11.03.2009 um 17:02 schrieb Jean-Daniel Dupas: Le 11 mars 09 à 16:03, Andreas Känner a écrit : Hi, Am 11.03.2009 um 13:27 schrieb Jean-Daniel Dupas: Le 11 mars 09 à 13:10, Andreas Känner a écrit : Hi there, does anybody know if there is an efficient way to directly access

Synthesized instance variables

2009-03-11 Thread Andreas Känner
Hi there, does anybody know if there is an efficient way to directly access instance variables which have been synthesized for the 64bit runtime? Using object_getInstanceVariable is 10 times slower than the code the compiler generates for the synthesized getter. Cheers Andreas