nangtrongvuon / tips

a tip calculator made with swift
0 stars 0 forks source link

Pre work for Swift Coderschool #1

Open nangtrongvuon opened 8 years ago

nangtrongvuon commented 8 years ago

Here is my prework for CoderSchool's Swift course.

/cc @coderschoolreview

coderschoolreview commented 8 years ago

Thank you for your Swift submission, nangtrongvuon!

:laughing: Everything looks good with the format of your submission. We'll be reviewing your submission soon!

coderschoolreview commented 8 years ago

:+1: Great job with the Tip Calculator!

Quick Comments:

screen shot 2016-02-25 at 1 05 23 am

We will email you soon with information about the class.

nangtrongvuon commented 8 years ago

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.

nangtrongvuon commented 8 years ago

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.

coderschoolreview commented 8 years ago

:+1: Good job using delegate. This is the way to listen to the event.