Archive

Archive for the ‘Mac Development’ Category

NSView+DisableSubviews: A handy NSView category for disabling & enabling views in Cocoa Apps

May 6th, 2012 Ahmet Ardal 2 comments

You sometimes want to disable/enable some UI elements in your Cocoa apps, while your app is performing a task or just when you want to disallow input on some certain UI elements. It’s easy when your window has a few UI elements but it becomes trouble when you have dozens of inputs or you want more flexibility. “NSView+DisableSubviews” is a handy NSView category for disabling & enabling UI elements in Cocoa apps easily.

Read more…