Skip navigation

Change Label in a different View

230 Views 2 Replies Latest reply: Nov 14, 2012 5:11 PM by K T RSS
Antematter Calculating status...
Currently Being Moderated
Nov 14, 2012 4:10 PM

Okay, so excuse me if I'm making an obvious mistake, I am new to the whole app development process haha.

 

So I'll try to explain this in the greatest possible detail that I can.

 

I have a simple app for a school project, and what I need to do is create a simple shopping list style app. So I have used a tab bar with each individual category for foods listed such as fruits, vegetables, sweets etc. There is also a tab which is the shopping list.

 

How the app works is for example on the apple in the fruits tab, the user types say, "2" into the Text Field, and clicks a button saying "Update Apples" What this button is supposed to do is update a label that says "0"usually on the shopping list tab to whatever is entered in the Text Field on the page with the shopping items.

 

Could someone tell me how I could have a text field and button in one tab change the value of a label in a different tab please?

 

Like I said I am new to this, so as much detail as possible would be very valuable to me and would be greatly appreciated 

 

 

 

Thanks in Advance

 

-Eoin

XCode

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.