iphone - Adding Sections to a UITableView -


I have a button that will add a section to the UITWEView? I know how to do this without adding classes and just making a list, but you will allow the user to include cell / rows along with sections and rows.

The easiest solution is to keep the NSMutableDictionary dictionary of children the easiest The solution is, each child's array has its own line of rows.

When you click on the button, it will add an empty NSMutableArray child to the original dictionary key section index or name. The value will be the hair array then you fill the empty hair array with your line objects.

Ensure that you adjust your representative methods to reflect the size and content of parent dictionary and children's arrays.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -