I have a method which parses HTML. In there there is an if/else statement:
if ((NSNumber1 == NSNumber2)) {
NSLog(@"dafuq1?");
} else {
NSLog(@"dafuq2?");
}
The log is sometimes like this:
...:dafuq1?
...:dafuq2?
So both parts are called. But other times just one of them gets called! Why?
Btw. iOS 7.0.4, Xcode 5.0.1
And
(NSNumber1 == NSNumber2)
is true