Skip to content

Commit

Permalink
Merge pull request #230 from wzs/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
nlutsenko committed Feb 17, 2016
2 parents a121e39 + e55b0ad commit 2809e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ self.saveAsync(obj).continueWithBlock {
(task: BFTask!) -> BFTask in
if task.isCancelled() {
// the save was cancelled.
} else if task.error() {
} else if task.error != nil {
// the save failed.
} else {
// the object was saved successfully.
Expand Down Expand Up @@ -238,7 +238,7 @@ findAsync(query).continueWithSuccessBlock {
return self.findAsync(query)
}.continueWithBlock {
(task: BFTask!) -> AnyObject! in
if task.error() {
if task.error != nil {
// This error handler WILL be called.
// The error will be the NSError returned above.
// Let's handle the error by returning a new value.
Expand Down

0 comments on commit 2809e80

Please sign in to comment.