assigning bools causes a warning?

 self.targetBack.visible = self.targetFront.visible = YES;


these are two bools i am assigning together on one line
appcode says: "Using '=' in conditional expression" in yellow
am i doing something wrong? or

thanks
0

请先登录再写评论。