Core Data woes

Discussion in 'Mac Programming' started by serlingpa, May 8, 2011.

  1. macrumors newbie

    Joined:
    Jul 12, 2009
    #1
    Hi guys

    I am a Windows developer who is migrating to the Mac. I have a question regarding a Core Data example in the book "Cocoa® Programming for Mac® OS X, Third Edition".

    My questions regards chapter 11. I have built the application exactly as describes and it all functions well—I can add images to cars, the columns are in bold for special offers and so on. However, the document doesn't appear to ever get dirty, even after several edits. The little red close button in the window does not have a black dot after edits, and I can close the window without complaint. Also the Save and Save As buttons are disabled. In fact, the only way I can save the document is to close down the application, whereupon I am asked "Do you want to save...?" which makes me think the document is dirty somewhere!

    I am totally new to Core Data and have looked in every place I can think of for the answer. Could you please shed some light on this for me?

    Regards, Mark Norgate
     
  2. macrumors 603

    Joined:
    Aug 9, 2009
    #2
    The book you're using has a forum:
    http://forums.bignerdranch.com/viewforum.php?f=5

    Have you tried asking your question there?

    That book also has an errata on the bignerdranch.com website. Have you looked there for possible updates?
     
  3. thread starter macrumors newbie

    Joined:
    Jul 12, 2009
    #3
    Nope, I hadn't thought of looking at the book's website. Doh!

    Thanks very much for the tip.

    Regards, Mark
     

Share This Page