I am new to Mac OSx / Cocoa. During the creation of my first application, I came across several things, and one of them is my problem with the green + button, which is designed to scale.
I would like to know if it is possible to dynamically set the behavior of the zoom button of the application window? Am I breaking any rule from Appleβs principles?
I want to specify the behavior of the button according to a specific user. Let's say the user is allowed to have a zoom button, then the button must be enabled; otherwise, leave the button disabled.
In this case, when the application is running, I check if the user is allowed to have the zoom button turned on. From here I want to customize the behavior of the window related to the zoom button - whether to enable or disable it in accordance with a preliminary check of the user mode.
Thanks for the help!
Kimpoy
source share