Using shared User Defaults Controller with NSMatrix

Discussion in 'Mac Programming' started by xmax, Mar 23, 2009.

  1. macrumors member

    Jul 3, 2008
    I am making user interface where I need to handle Multiple Matrix containing radio Buttons.
    I have bind Selected Item of Matrix with User Defaults controller.
    Now I want to make user interface such that it should Enable matrix 2 when radio button of matrix 1 is in ON State. else matrix 2 should be in OFF state.

    I had disabled and enabled with check boxes before. but i don't know how to handle matrix ?


  2. macrumors 6502a

    Jun 8, 2005
    Try this. Bind the enable or hidden value of the second button to the on/off state of first button.

    Or connect the first button to a function in your class, in which you programmatically alter the on/off state of the second button and pass the correct value on to the userdefaultscontroller

Share This Page