Quote:
Originally Posted by ataranlen
So when you say I do not need an IBOutlet, I run into problems with that, I use plant1 in more places than just viewdidload. If I only init it in viewdidload, it shows as not found.
Am I supposed to remove it from viewcontroller.h? or just take out the IBOutlet? OR take out the entire IBOutlet line?
Experimentation tells me I just take out the IBOutlet part of the line and it works fine now! Wow, I never thought I would figure out classes!
|
Success! I was afraid that learning to create classes would be intimidating, but it's necessary in the long run. May as well do it now.