Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added error checking #1

Merged
merged 3 commits into from
Mar 8, 2014
Merged

Added error checking #1

merged 3 commits into from
Mar 8, 2014

Conversation

paulrehkugler
Copy link
Contributor

You know, for those copy-paste types.

You know, for those copy-paste types.
@@ -95,6 +95,11 @@ While Apple hasn’t released official sample code for iCloud Core Data in iOS 7
[context save:&error];
}

if (error) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before checkin the error, you should really check the BOOL return value of save:

@mbbischoff
Copy link

👍

floriankugler pushed a commit that referenced this pull request Mar 8, 2014
@floriankugler floriankugler merged commit 85da202 into objcio:master Mar 8, 2014
floriankugler pushed a commit that referenced this pull request Oct 9, 2014
floriankugler pushed a commit that referenced this pull request Nov 10, 2014
Made some minor edits to MPC article
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants