Ok, I'm extending my MDM application (MoneyData Manager). Here's what I need help with doing:
The user will have two table views, one to choose their account and the second to display transactions with that account. Ok I've got it to where you can add data to one or the other, but selecting won't show what should be in the other. Anyways I know how to do that. Here's my problem:
When I archive the data, how will I get the data for the other transactions? I figure I'll have to make an array of an array of the data.
E.g. Accounts->Transactions->the actual transactions data, so you'd have this:
Account 1:
Transactions:
a, b, c
a, b, c
Account 2:
Transactions:
a, b, c
a, b, c
Now I think I know how I'll unpack the data, unpack the data into an array then unpack each array item into an array for those transactions.
Do you follow with what I'm asking?
I want to know how I'd get the data from the other accounts. I guess I'm not sure what I'd do, should I do a for loop or... see I'm lost on what to do.
The user will have two table views, one to choose their account and the second to display transactions with that account. Ok I've got it to where you can add data to one or the other, but selecting won't show what should be in the other. Anyways I know how to do that. Here's my problem:
When I archive the data, how will I get the data for the other transactions? I figure I'll have to make an array of an array of the data.
E.g. Accounts->Transactions->the actual transactions data, so you'd have this:
Account 1:
Transactions:
a, b, c
a, b, c
Account 2:
Transactions:
a, b, c
a, b, c
Now I think I know how I'll unpack the data, unpack the data into an array then unpack each array item into an array for those transactions.
Do you follow with what I'm asking?
I want to know how I'd get the data from the other accounts. I guess I'm not sure what I'd do, should I do a for loop or... see I'm lost on what to do.