Why? Why? Why?
Why? Why? Why?
- Subject: Why? Why? Why?
- From: Luca Ciciriello <email@hidden>
- Date: Sun, 26 Aug 2012 15:36:40 +0200
Hi All.
Statement 1): Compiler is always right.
Xcode 4.4
file .m
@interface MyClass
{
int page;
}
end
@implementation MyClass
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
…
page = 0;
}
- (void) myMethod
{
page++;
if(page > 2)
{
page = 0;
}
}
...
No problem at all building this code.
Then
Xcode 4.4.1
Same file, same code.
Xcode hanging building this file!!!
Removing page = 0 in MyMethod all builds fine.
Is "Statement 1)" correct?
Luca.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden