Does Anyone have any idea why this code produces this errors in OS 3.0 and not OS 2.2.1?
NSUInteger aCount = [serverBrowser.servers count];
error: type of accessor does not match the type of property 'servers'
ServerBrowser.h is define below and serverBrowser is synthesized in .m above.
#import <Foundation/Foundation.h>
@class ServerBrowserDelegate;
@interface ServerBrowser : NSObject {
NSMutableArray* servers;
id<ServerBrowserDelegate> delegate;
}
@property(nonatomic,readonly) NSArray* servers;
@end
Thanks in advance for the help. Much appreciated. Jordan