Skip navigation

Counter across 3 View Controllers?

152 Views 4 Replies Latest reply: Feb 3, 2013 12:33 PM by JDL55 RSS
JDL55 Calculating status...
Currently Being Moderated
Feb 2, 2013 4:18 PM

Can't think of a way to make a counter work across at least 3 VCs.

One view controller has -(IBAction)plus1 button that segues to the next view controller,

an -(IBAction)plus2 button. That segues through to the last view controller with an IBOutlet UILabel *count button.

Work's great on one VC. Am I missing something?

Someone suggested Singleton method but not sure how to set up.

Thanks for any thoughts.

iPhone 5, iOS 6

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.