Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Littleodie914

macrumors 68000
Original poster
Jun 9, 2004
1,813
8
Rochester, NY
Hey guys, I was tinkering around with iProcrastinate, an app I've been writing, and all of a sudden my latest builds will save files just fine, but when I open them again, the document is completely blank! :eek:

I know this isn't much to go on, but I can't think of anything that I've changed that would cause this. It's a document-based Core Data app. Any ideas towards a stupid mistake I made? Thanks! :(
 

Littleodie914

macrumors 68000
Original poster
Jun 9, 2004
1,813
8
Rochester, NY
Is Console giving you any logged info?
Nope, not a single bit, everything seems to be running okay. :(

I just saved a file in XML this time instead of Binary, and on opening it with a text editor, all the information was there. So the problem seems to be in opening the documents, rather than saving them. I'm still stumped though. :confused:
 

Littleodie914

macrumors 68000
Original poster
Jun 9, 2004
1,813
8
Rochester, NY
Dang, I still can't find anything at all! Don't mean to bump my own thread, but has anyone run into this before? I'd appreciate any advice! :)
 

DavidLeblond

macrumors 68020
Jan 6, 2004
2,351
695
Raleigh, NC
There is an attribute you have to set up on the controllers... I think it is something like auto-load or auto generate content. Something like that. Set that.
 

Littleodie914

macrumors 68000
Original poster
Jun 9, 2004
1,813
8
Rochester, NY
There is an attribute you have to set up on the controllers... I think it is something like auto-load or auto generate content. Something like that. Set that.
Edited for excitement. That worked, thanks so much. It was only the main controller that was unchecked too, all the smaller ones were still set. :rolleyes:
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
And that is one reason why I'm not a fan of Core Data and bindings... very hard to debug.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.