cocoa - NSTableView not refreshing -


I have a table view that is refreshed in two different ways, both are through a button, and As a matter of fact, both are in the same class through the same IBAction!

Here's my problem:

The buttons are different. The files work perfectly in the form of a button table view in the same encobe, while the method of receiving a new data from different legs, but it does not refresh the table. To get IBAction for the same exact method, different results, other buttons, I simply pulled out an NSObject in the IB and set my class in the square of my table view, which contains IBAction, then it's on my button Caught.

How can I fix this?

It seems that you are creating the second, parallel, object of your class, the second XIB button Sends a message that does something of your requisite because it is the object of the right square, but it is not exactly the right object and is not connected to your view.

What you need to do is to make sure that both of the buttons talk with the same example. This is the easiest if the goal is in the reply series - you have the first responder Goals should be able to set up and the message will find its way in the right place. Otherwise, you will need to get an indicator for the goal in XIB, such as file owner .

In the form of IBolet in the object.

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -