Hi,
What would be the best approach to create the app will describe next. I’m not looking for code; I just need to know what components you would use, especially for the item list shown in the picture.
This application is to practice what I have been reading about Objective-C.
What I want to do is to have two UITextfields, one to enter an amount and the other one to enter a percentage, I will also need a button that when clicked, it will do some calculations based on the numbers entered by the user, than displaying the result on a UILabel which is not a problem I can do this without a problem.
My issue is with the item list since I want to display the values entered by the user every time the add button is clicked, I also want the user to be able to edit and delete items in the lists, and as they are deleted or added the total should reflect these changes as well and I don’t know what would be the best way to accomplish this.
An array of UITextfields maybe? Is this how you would do it?
Any ideas would be greatly appreciated.
FYI,
None of this information will be saved in a database or anything like that, it will only be displayed while the application is in use.
Here is a link to a picture describing what I want:
https://www.evernote.com/shard/s157/sh/53e950b8-5f14-408a-b76c-19ee3ec946f6/73a8bb7b221a518a298d939ab2040f75
Thanks a lot.
What would be the best approach to create the app will describe next. I’m not looking for code; I just need to know what components you would use, especially for the item list shown in the picture.
This application is to practice what I have been reading about Objective-C.
What I want to do is to have two UITextfields, one to enter an amount and the other one to enter a percentage, I will also need a button that when clicked, it will do some calculations based on the numbers entered by the user, than displaying the result on a UILabel which is not a problem I can do this without a problem.
My issue is with the item list since I want to display the values entered by the user every time the add button is clicked, I also want the user to be able to edit and delete items in the lists, and as they are deleted or added the total should reflect these changes as well and I don’t know what would be the best way to accomplish this.
An array of UITextfields maybe? Is this how you would do it?
Any ideas would be greatly appreciated.
FYI,
None of this information will be saved in a database or anything like that, it will only be displayed while the application is in use.
Here is a link to a picture describing what I want:
https://www.evernote.com/shard/s157/sh/53e950b8-5f14-408a-b76c-19ee3ec946f6/73a8bb7b221a518a298d939ab2040f75
Thanks a lot.