Inserting a QSection to QRootElement at runtime in QuickDialog iOS

I am building a form with QuickDialog library in iOS. Here it is possible to insert any QElement at an index into any QSection dynamically with this method

- (void)insertElement:(QElement *)element atIndex:(NSUInteger)index; 

But I found no way to insert a QSection into my QRootElement at runtime. Is there any way I can do that ?


There are two ways to you do this:

You can either use the - (void)addSection:(QSection *)section; method on the QRootElement to add the section to the bottom of the root, or you can insert the item directly in the sections mutable array property of the rootElement.

We should probably add a insertSection:atIndex: method for consistency, but it doesn't exist today.

Need Your Help

Json object not displaying in jsp

java json jsp servlets

I have a jsp page where I am trying to get a JSON object from my servlet.

C- Ncurses, Window not displaying / printing

c ncurses

Ive tried looking for a solution, i just don't know why the window is not displaying. The code is fairly simple and straight forward. Why is this the case? I asked a similar question before but kno...