RE: Saving NSObjectController info
RE: Saving NSObjectController info
- Subject: RE: Saving NSObjectController info
- From: <email@hidden>
- Date: Thu, 17 Feb 2005 7:44:29 +0000
Thank you for pointing me to your ToDos example, Malcolm. Finally have it figured out. I think the issue I was having was following the CurrencyConverter example with bindings, and that example has you instantiate your model object in IB and connect it to the controller's content outlet. After looking at your ToDos example, I deleted the model object instance, deleted the outlet to the controller in MyDocument, and simple set the contentObject binding for the ObjectController to File's Owner with Model Key Path set to Recipe. Once I did that, it all worked. I hope you don't mind, but I also used your method of saving and retrieving the info from disk. As you could see, the way I was doing it was rather clunky. Yours is much more streamlined. I will credit you in my code for all the help. I really don't
think I could have converted this application to using
bindings without you. Thank you so much for your help!
James
P.S. I tried e-mailing this directly to the e-mail listed with all your posts, but it bounced back, which is why I'm posting to the list instead.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden