Skip to content

Commit

Permalink
Completed task 5 and closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Vanhoef authored and Peter Vanhoef committed Mar 21, 2017
1 parent 1e8f59a commit 9df4a8e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Calculator/Calculator/CalculatorBrain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,9 @@ struct CalculatorBrain {
}
}

var resultIsPending: Bool = false
var resultIsPending: Bool {
get {
return pendingBinaryOperation != nil
}
}
}

0 comments on commit 9df4a8e

Please sign in to comment.