I used this tutorial to tie my collection on my visual exercise on the visually visual: / P>
Interface Manufacturer Content It is not difficult, it becomes really difficult when I try to view data in my array data.
In my .h file:
@interface MyDocument: NSDocument {NSMutableArray * archive; // other variable}
and in my .m file:
@implementation MyDocument @ synthesis collection; // A lot of work within a function (which works): [collection addObject: fileName]; // Some other functions inside the init function: collection = [[NSMutableArray alloc] init];
Now I think that the array is well connected inside the interface and table view , but the table view and its columns should be filled exclusively . Nothing is shown now after adding an item with the collection addObject: fileName function
Should I create a sub-form as an item, from the field filled? And how should I bind these values / fields into specific columns? (Field ' Artists ', ' Title ', etc.)
I already have each column in the interface builder Array Controller systematic object ' and the model path of the ' artist ', with ' Title ', etc.
Please keep the explanation simple because I started to think slowly that I never get this array controller thing ... purpose- it does not seem like such a difficult one, but the binding which is needed is that which I do not get it. Examples of applets are not sufficient for new ones
Generally, to populate your data that you Create a class to make a new instance for the dictionary (key keypath and data for every object), or even better, to represent the data and to create a new instance for each line Binding can be a bit harder than before (if you want to coco If you are new to the first data source method Can be used for this), but have a look and see. There are samples in both, you can download and test how the bindings are set up in the interface builder.
Comments
Post a Comment