Accessing an owners variable
Posted
by Dyldo42
on Stack Overflow
See other posts from Stack Overflow
or by Dyldo42
Published on 2010-04-20T09:10:40Z
Indexed on
2010/04/20
9:13 UTC
Read the original article
Hit count: 284
Okay, I have a ViewController that has 12 UIButtons as instance variables, and they are created in interface builder. I want to access another variable in the viewController from the UIButton's init method. Is that possible?
By the way, I'm writing in Objective-C in the iPhone SDK.
Cheers.
© Stack Overflow or respective owner