Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

synchronous save (saveWithBlockAndWait:) success and error handling? #661

Closed
chadbag opened this Issue · 7 comments

3 participants

@chadbag

This is probably a dumb question, but how do I determine if a waiting (synchronous) save generated an error or not?

The asynchronous ones provide a completion handler and pass me success and error indicators, but the andWait: synchronous ones don't provide a way for me to test that the operation was successful(?)

@casademora
Owner
@chadbag

I have no problem looking at logs when I am developing and debugging. But I kind of wanted to have programmatic checks that my app can respond to. Would it be possible to, in some way (maybe by having some sort of error handler block or something? on the andWait: type), provide for this in a future version?

@casademora
Owner
@chadbag

If I ever get out from under my current deadlines and pressure, I'll also take a look at the code to see if I can help in this regard...

@casademora
Owner
@chadbag

Ain't life grand?

@tonyarnold tonyarnold was assigned by chadbag
@tonyarnold
Owner

I've just added this to MagicalRecord 3: 5b490f8

@tonyarnold tonyarnold closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.