Awww.. this makes me annoying.
I'm trying to find out the solution but it's hopeless.
I have an entity that contains string value "name"
entity name is just "entity"
and I bound with NSArrayController (with prepare contents checked in IB)
And I put some value with add method in NSArrayController.
Controller also bound with NSTableView so, it's displayed whenever the
array fills with object.
and NSSearchField is also bound with NSArrayController, but this time binding
option is Predicate.( apparently I'm going to show object what i want via SearchField )
And kazaam!
It works like a charm.
I have been thinking that binding is such an technique i've ever used.
But after I try to re search the object with NSSearchField..
Nothing is viewed.
I tried to view the first contents with empty SearchField. But the original Objects were not coming back.
So I read some documents in Predicate and I relized that, the lost arraydata could not be restored.
It means I need to refil the current NSArrayController with entity objects.
But how?
Is there some way to retrieve my old entity data? or I just need to do manually?
I'm working with this about 2 days and I cant find any solution.
I'm trying to find out the solution but it's hopeless.
I have an entity that contains string value "name"
entity name is just "entity"
and I bound with NSArrayController (with prepare contents checked in IB)
And I put some value with add method in NSArrayController.
Controller also bound with NSTableView so, it's displayed whenever the
array fills with object.
and NSSearchField is also bound with NSArrayController, but this time binding
option is Predicate.( apparently I'm going to show object what i want via SearchField )
And kazaam!
It works like a charm.
I have been thinking that binding is such an technique i've ever used.
But after I try to re search the object with NSSearchField..
Nothing is viewed.
I tried to view the first contents with empty SearchField. But the original Objects were not coming back.
So I read some documents in Predicate and I relized that, the lost arraydata could not be restored.
It means I need to refil the current NSArrayController with entity objects.
But how?
Is there some way to retrieve my old entity data? or I just need to do manually?
I'm working with this about 2 days and I cant find any solution.