Re: get rid of warning "suggest parenthesis around assignment used as truth value"
Re: get rid of warning "suggest parenthesis around assignment used as truth value"
- Subject: Re: get rid of warning "suggest parenthesis around assignment used as truth value"
- From: Bob Sabiston <email@hidden>
- Date: Thu, 20 Nov 2008 09:47:31 -0600
On Nov 20, 2008, at 9:32 AM, Chris Hanson wrote: On Nov 19, 2008, at 6:26 PM, Bob Sabiston wrote: Is there any way to make this warning not appear? Besides turning of all warnings? Xcode's own template class code generates these warnings.
What project/target/class templates did you use that are generating these warnings without explicitly enabling them? -- Chris
What do you mean explicitly enabling them?
New File -> Cocoa Touch Classes -> UIView subclass . Creates this .m file:
#import "untitled.h"
@implementation untitled
- (id)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) { // Initialization code } return self; }
- (void)drawRect:(CGRect)rect { // Drawing code }
- (void)dealloc { [super dealloc]; }
@end
|
_______________________________________________
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