Hi all, I have a shape class containing an
attribute: NSBezierPath *path; initialisation: path = [[NSBezierPath alloc] init]; [self setBezierPath]; setBezierPath: path = [NSBezierPath bezierPath]; then add the paths and close path. paint: [path setLineWidth: 1]; [path fill]; It all worked well when I had the setBezierPath method called from paint, but since only calling setBezierPath in an update method and during initialisation, I've started getting a exc_bad_access exception when path is called in the paint method. Any help would be greatly appreciated. Cheers, Billy_______________________________________________ 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 arch...@mail-archive.com