cocoansbox

Changing Visibility of NSbox Objective C


How can I change a NSBox to isHidden:YES|NO programmatically?


Solution

  • Any subclass of NSView responds to the setHidden: method, so to change it simply call

    [box setHidden:YES];