Objective-C iPhone Programming Lesson 6 - Saving Basic Data

preview_player
Показать описание
I demonstrate the use of NSUserDefaults to save data from your app.
Рекомендации по теме
Комментарии
Автор

@exam try checking the console to see if there is any error info in there. In this case there probably will not be, since the issue seems to be due to a memory fault. I don't know what to tell you, since this works perfectly for me. You probably just didn't do something the same way that I did...

macheads
Автор

@macheads101 I feel you mate, I am a PS3/MAC fan. Micro$oft...Btw you have by far the best tutorials :)

hitman
Автор

@seany242 The issue is likely not with your code. This is an issue with the iOS sdk including the iPhone simulator. This is not a problem with your app...

macheads
Автор

@seany242 Data saving should still work, it's just that Xcode will report that your app has been terminated when you kill it from the iPhone simulator. You did not mention that your data was not being saved, so I assume that NSUserDefaults is working perfectly.

macheads
Автор

Grate tutorial this is just what I need for my app ! Thanks
PC ore xbox ? I have it on xbox can I add you if you have it on xbox ?

MertenNor

MertenNor
Автор

@macheads101 I get the same thing but on your tutorial you can go back into the app and make changes, but on ours it just crashes and shows this message (grab. by/b0EX)
how come yours still works? thx

exam
Автор

@MertenNor Im on PS3... i hate microsoft

macheads
join shbcf.ru