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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -