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?
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: