Identifying the Views using Tag similar to UIView
Hi ,
Is there a way to identify each view available, using a field like "tag" in iPhone SDK for UIView and other subclasses of it?
1 Answer
-
Not sure if the iphone supports it but Android supports arbitrary properties on objects.
So you can use:
nameLabel.theWordIs = "Bob";
It should work as it's a js feature.