I know that it sounds weird but my project is making **TIC TAC TOE** in iPhone and I want to test if the button text equals to **X** or not 

I tried to type this formula but it failed and I understood that the computer didn't read the "X" because I made it NULL and it was ran,

```
if ((([button1.titleLabel.text stringByAppendingFormat:@" " ]   && [button2.titleLabel.text stringByAppendingFormat:@" " ]
&& [button3.titleLabel.text stringByAppendingFormat:@" " ]  ))

```