Open nangtrongvuon opened 8 years ago
:laughing: Everything looks good with the format of your submission. We'll be reviewing your submission soon!
:+1: Great job with the Tip Calculator!
NSUserDefaults
. This is one of the methods to pass the data from multiple viewController. We will learn few more ways to do that. We will email you soon with information about the class.
Thanks for the kind comments. Do you have any suggestions to fix the UITextField problem? I was thinking of RegEx but I don't think it's a very elegant solution.
I think I have implemented a fix. Using UITextFieldDelegate, all invalid inputs (such as multiple decimals and letters) are now deleted. Please check the app again.
:+1: Good job using delegate. This is the way to listen to the event.
Here is my prework for CoderSchool's Swift course.
/cc @coderschoolreview