-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Intro to iOS] Pre-work - Review my app #1
Comments
Thanks for your submission! You've satisfied the basic requirements, but you could make some improvements. For your var defaults :NSUserDefaults = NSUserDefaults.standardUserDefaults()
tipPercentage = defaults.floatForKey("tip_percentage")
if tipPercentage == 0 {
tipPercentage == 5.0
}
textBoxTipPercentage.text = "\(tipPercentage)" Please try to fix your submission. Thank you, |
Thank Charles, It's so ridiculous for this mistake. However, I have tried like your suggestion and it doesn't work as well. The save method, it gets the correct new value, but when the app run again, it always gets the old value. :( |
I am a bad teacher. I gave you bad advice - sorry! My mistake.
|
It works now Charles. Thank you so much! 👍 |
There actually is: -Charles On Wed, Aug 12, 2015 at 9:27 AM hoaknoppix [email protected] wrote:
|
Hello, You may have missed my emails - I've sent you an email about course details from [email protected]. Please check your spam mailbox? Thanks, |
/cc @chug2k
My app is complete, please review and give me some comments. :)
Thanks.
The text was updated successfully, but these errors were encountered: