Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Josh Kahane

macrumors 6502
Original poster
Aug 29, 2006
439
1
Suffolk, UK
In my app, I have a grid of NSButtons and very simply, the setBackgroundColor method of NSButton i stetting called a lot, very quickly and on my 27" iMac its run super quick and nice, but on say my 11" Macbook Air its not fast enough, there is lag.

I heard that I could possibly disable the animation of this method? Or something similar?

Anyway, if you can help me work out a way of filling NSbutton with colour really quickly, the most efficient way possible I would super duper appreciate it, thanks because its to slow on not old, but lower ends macs.

Let me know if I am not making sense or you need more info.

An easier way of putting my question:
• What methods can I use to change the colour of an NSButton other than the default 'setBackgroundColor' method?
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.