Use Instruments to find out where the slowness lies. Come back once you'e got more information and still don't know the cause.
On 20 Dec 2010, at 13:31, Artemiy Pavlov wrote: > Hi all! > > I have a Cocoa view that reacts to -mouseDown and -mouseDragged events and > then draws something via -drawRect method. > > It has about 50 objects that are either NSBezierCurve or NSTextField. The > problem is, after a few seconds of mouse dragging, the view becomes very > sluggish. I release all of the NSTextField and NSString objects immediately > after drawing them. > > What could be causing this slow-down? I'd appreciate any advise. > > > Thanks and best wishes, > > Artemiy. > _______________________________________________ > > 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/cocoadev%40mikeabdullah.net > > This email sent to cocoa...@mikeabdullah.net _______________________________________________ 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