Re: Binding an objects Enabled to a button in IB

2010-09-06 Thread Markus Müller
Just use an additional NSObjectController. Its default content is a NSMutableDictionary, add a key here, say lockUI, switch automatically prepares content to yes and bind your form fields enabled binding to that controllers lockUI-property (should show up in IB). That is a completly valid and

Re: NSArrayController + KVO + Core Data Question

2010-08-23 Thread Markus Müller
Hi, there are two possible solutions for your problem: nr.1: observe the NSManagedObjectContext via NSManagedObjectContextObjectsDidChangeNotification nr.2: observe arrangedObjects of your NSArrayController (as stated above, this is possible) When you are recieving the notifications (either

Re: NSArrayController + KVO + Core Data Question

2010-08-23 Thread Markus Müller
Hi, there are two possible solutions for your problem: nr.1: observe the NSManagedObjectContext via NSManagedObjectContextObjectsDidChangeNotification nr.2: observe arrangedObjects of your NSArrayController (as stated above, this is possible) When you are recieving the notifications (either

Re: Getting Source List font sizes right

2010-08-22 Thread Markus Müller
Are you setting a custom cell? maybe you have to check in SourceView if they´re using another fontsize (check in IB). Regards, Markus Am 06.08.10 23:33, schrieb Rick Mann: I've got half a source list working, using Leopard's support. However, I can't get the section title font size correct,

Problem with animator-proxy in 10.5 and NSApps -runModalForWindow

2010-08-05 Thread Markus Müller
Hi, I´ve a problem with the animator proxy under 10.5 Code: -(IBAction)doModal:(id)sender { NSRect windowFrame = [ window frame ]; windowFrame = NSInsetRect(windowFrame, -100.0, -100.0 ); [ [ window animator ] setFrame:windowFrame display:YES ]; // animation wouldn´t start in 10.5 if followed

Overlapping Extensions and UTIs in NSDocument

2008-05-29 Thread Markus Müller
Hello. I have a problem in my document-based application related to UTIs. I'd like to allow importing of FreeMind files (Extension: mm). I added the following definition to my info.plist keyUTImportedTypeDeclarations/key array dict keyUTTypeConformsTo/key array stringpublic.xml/string

Re: Overlapping Extensions and UTIs in NSDocument

2008-05-29 Thread Markus Müller
Thank you for your answer. I filled a radar describing this issue. Best regards, Markus Müller On Thu, May 29, 2008 at 4:55 PM, Sean McBride [EMAIL PROTECTED] wrote: On 5/29/08 3:20 PM, Markus Müller said: Could it be that it's not allowed to have UTIs with overlapping extensions? Bingo

Re: Crashes related to garbage collection?

2008-05-28 Thread Markus Müller
Please excuse me for taking so long to get back to this thread! Thank you both for your answers. It's interesting that you think that those crashes are related to the open panel. I also have several crash logs that contain traces of open/save panel methode calls. If this doesn't get better in