How to create custom Object

Discussion in 'iOS Programming' started by amb1s1, Aug 13, 2008.

  1. amb1s1 macrumors newbie

    Dec 20, 2006
    I'm trying to add a Radio button on my app. but I don't see it on the library. How can I create one? Thanks
  2. detz macrumors 65816

    Jun 29, 2007
    Hmm, just off hand I would say just use a UIButton and create custom images. One image for down and one for up..if the user presses the button change it's enabled or selected status to keep the button the correct "position". You could also keep an NSArray of buttons and if one is pressed go make the others "release" back up.

    There might be a better way.

Share This Page