Case label does not reduce to an integer constant . . .
Case label does not reduce to an integer constant . . .
- Subject: Case label does not reduce to an integer constant . . .
- From: "Michael A. Crawford" <email@hidden>
- Date: Mon, 08 Feb 2010 10:59:38 -0500
The following excerpts from my code show a constant definition that does not reduce to an integer constant in my case statement, but only in the release build of my iPhone project. In the debug build it works just fine. Any ideas?
static NSUInteger const kGPSSettingsRowIndex = 0;
switch ( indexPath.row ) { case kGPSSettingsRowIndex: cell.textLabel.text = @"GPS Settings"; break;
-Michael
|
_______________________________________________
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