Container control?

Discussion in 'iOS Programming' started by pinsrw, Oct 18, 2010.

  1. pinsrw macrumors regular

    Joined:
    May 30, 2010
    #1
    Hi all,

    I want to create a UITableView that will have more than text in it. Specifically I want each cell to contain possibly several widgets side by side.

    In other GUI systems, there is usually a container widget/control called a List that will place widgets adjacently either vertically or horizontally.

    For instance, a horizontal List of three widgets might look like this

    Code:
    [Label 1][Button 1][Button 2]
    Is there such a thing in iOS? Or do I need to use a UIView and position the sub-widgets myself?

    Thanks.
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    No such thing in iOS, since UITableView is a single column. There are, however, a number of options for doing what you want, as explained in the Table View Programming Guide for iOS.
     

Share This Page