NSTableView not refreshing when calling method from different class
        Posted  
        
            by Matt S.
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Matt S.
        
        
        
        Published on 2010-06-15T12:39:08Z
        Indexed on 
            2010/06/15
            12:42 UTC
        
        
        Read the original article
        Hit count: 184
        
nstableview
I have a table view that gets refreshed two different ways. One is through a button and the other is when I call my refresh method, which is the same method that I use for the button, but for some reason, when I hit the button it works, but when I call it through a different class it doesn't.
Here's the code that I use to refresh the tableview:
Msqv *qv = [Msqv new];
[qv refresh:self]; //refresh is an IBAction that is used by the button
        © Stack Overflow or respective owner