> On 27 Apr 2015, at 09:53, Nisar Ahmed <[email protected]> wrote: > > My application has a UI having a main window which contains many views such > as NSTableView, NSOutlineView, NSOpenGLView, many NSTextFields etc... > > The applications works normally but after some time the UI stops responding > to the mouse clicks, the application does not hang but it seems that all > the views stop redrawing itself. I have tried many things but fails to > prevent or reproduce the behaviour. Need some advice on how to fix or > atleast find out what is causing such behaviour. > > I am updating all UI controls on the main thread and using Cocoa bindings > heavily.. apparently there is no memory leaks, I am using Xcode 6.1 on > Mavericks > Personally I would try and follow the flow of events: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/EventArchitecture.html#//apple_ref/doc/uid/10000060i-CH3-SW11
You could try overriding NSWindow -sendEvent: This action method dispatches mouse and keyboard events sent to the window by the NSApplication object. This should help you to narrow down the location of the problem. Jonathan _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
