On 27 Dec 2009, at 01:18, proger proger wrote: > I'm still don't know how to do it. As solution i see programmically create > MyView class and call drawRect function as i needed.
There is rarely any good reason to call drawRect yourself. It should only be called by the AppKit drawing internals. > Because now MyView(NSView) is created by nib. And i can't call MyView class > instance methods. Why not? This is the basis of most (non-KVO) view programming._______________________________________________ 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