I am using [button.tag] = 50;
But it is not working.
I want to set tag to buttons.
I am using [button.tag] = 50;
But it is not working.
I want to set tag to buttons.
That would be:
button.tag = 50;
Do yourself a favor and take the time to read through Apples The Objective-C Programming Language, in this case specifically about the Dot Syntax and declared properties.