1

I'm new to iOS development but I would like to start with it. I would like to create a simple application for iPad which is simular to that one from the jpg attached.

layout

Main assumptions: - section A cointains some list of items representing some objects - I can drag and drop the element from A to B and then B cointains some graphical representation of a dragged item (some kind of canvas). - C contains a table which depends on what section B contains

For now, my main question is if it is possible to create such layout. I've made a research and found out something about UISplitView but as far as I've understood it supports only "two columns" layout. I'm affraid that TableView is not good for me as well (rows only).

I assume that I need (at least) - controler and model for displaying A content - controler and model for displaying B content - controler for C (model the same as for B) - and a root controller

Am I right?

I dont have much time for creating this app, so that's why Im asking you for any clues and advise from what should I start learning to not waste the time...

4

1 回答 1

1

From what you've described your layout should not be difficult to implement. If you have additional requirements (as in the question I asked) it will get more complicated. If it is a static layout you can just put your views in a container view just as you described. You can have the views hooked up to outlets on the UIViewController for the root view, or you can have controllers for individual views or subsets of views.

Perhaps you are coming from the Android world where layout views are used. On iOS there is less use of layout views. Instead any view is a container.

于 2013-02-27T08:56:16.763 回答