Cocoa NSWindow not updating with data
Posted
by Matt S.
on Stack Overflow
See other posts from Stack Overflow
or by Matt S.
Published on 2010-05-24T00:12:53Z
Indexed on
2010/05/24
0:21 UTC
Read the original article
Hit count: 282
I have an NSWindow that shows up when you click either of two items (both from an NSTableView). I have a setter method that tells the window what information to display. This all works perfectly, until it comes time to display the data in the window. If I cause the window to display from one tableview, then try to have it display the new data from another it doesn't do it, it keeps the old data on. I am using the exact same method to get and display the data from both possible ways to have the window show up, and the data is changing correctly. To display the window I'm using [mywindow makeKeyAndOrderFront:self];
© Stack Overflow or respective owner