On May 2, 2008, at 7:11 PM, Graham Cox wrote:
Sounds OK - so post your code. The documentation is correct.
Well the code is totally straight forward:
@interface MyView : NSView {
MyObjectData *data;
}
@property (readonly) MyObjectData *data;
- (id)initWithFrame:(NSRect)frame;
@end
@implementation MyView
@synthesize data;
- (id)initWithFrame:(NSRect)frame {
self = [super initWithFrame:frame];
if (self) {
data = [[MyObjectData alloc] init];
}
return self;
}
@end
The view is instantiated correctly because it draws right. When I put
the debugger breakpoint in initWithFrame: it doesn't get called. Is
there something wrong with this?
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]