If I have 2 .h and .m files and I want to pass the value of a variable between them, how would I do it?
So in Slide1.m it declares Variable1 = 10; then I want Slide2.m to be able to declare Variable2 = Variable1; but it obviously says "Variable1 undeclared (first use in a function)"
Thanks in advance