iphone - Can I implement something similar to iOS "Folders"? -


i going make visually similar ios4 folders it's not folders @ )))

for example, have 4 labels on screen - see sketch. screen splits, if user click on label. other lebels going down , can see text between splited views. if user click once more - view "normal" state before. , on.

questions are:

  1. is confront iphone hig , app can rejected?

  2. what easiest way implement this?

thanks )

alt text http://a.imageshack.us/img196/1306/sketch1.gif

your app can always rejected, no reason @ all.

this seems less folders , more outline collapsable items (or code folding in programming editor). plenty of outliner apps in store no reason should able (but read first line of answer again! no promises!).

lots of ways implement this. here's random quick one: if use uitableview , have uitableviewdatasource implementing class has items marked hidden/vislble. numberofrowsinsection method return number of visible rows , tableview:cellforrowatindexpath: have skip hidden rows (this might slow if have many items - if so, cache visible count, use secondary array of indexes (or nsmutableindexset) of visible items, etc).


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -