Is there such a list?
I’m relatively new to iOS development and I’m think it would be great to study a list of most well-known compiler bugs or gotchas.
EDIT:
Today I spent too much time to understand what’s going on with code like this:
in *.h
@interface I : NSObject {
..
NSSMutableArray* var; // typo, should be m_var;
}
@property (nonatomic, readonly) NSMutableArray* var;
in *.m
@implementation I
@synthesize var = m_var; // no warnings or anything
-(id) init
{
self = [super init];
if (self != nil)
{
// no warning or errors
m_var = [NSMutableArray new];
}
return self;
}
And I think it’s time to learn some of the well-known Objective-C idiosyncrasies.
Apple’s list of bugs is internal to Apple.
I think that Open Radar is the closest thing you’ll get to a public list of bugs related to Apple products, including Xcode. It is maintained by the community — users are encouraged to post to Open Radar the bug reports that have been submitted to Apple.