Question

How would I manage to fail out the network opereation if 0 objects was returned in restkit? In my application I only want to return to a new window if there is data show.

Was it helpful?

Solution

Either the server would need to return an http status code that you could add particular handling for or in the success completion block you would check the mapping results count and act accordingly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top