i have declared bool , flipping it's value when user presses button.
i this: !self.isediting;, xcode warns me "expression result unused"
can cause problems? should instead do: self.isediting = !self.isediting;?
when run !self.isediting, you're not changing value of self.isediting. so, yeah, should use self.isediting = !self.isediting.
Comments
Post a Comment