Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Vending Machine App in Swift Using the Vending Machine Updating the Quantity

Alex Constancio
Alex Constancio
2,745 Points

I keep getting an error whenever I try to access quantityStepper.value it tells me "Ambiguous use of 'value'"

I keep getting an error whenever I try to access quantityStepper.value it tells me "Ambiguous use of 'value'" please help

Alex Constancio
Alex Constancio
2,745 Points

Im using Xcode 9.0 by the way

Shade Wilson
Shade Wilson
9,002 Points

This could be due to a couple things. Posting your code would help solve the problem.

Alex Constancio
Alex Constancio
2,745 Points

Shade Wilson Thank you for your response! I think I figured it out. I was importing the Outlet of the UIStepper to the view controller as a UIView type instead of the UIStepper type. This fixed my problem