Hi, I am relatively new to objective C, and have bought the printed version of the book to help understand core data.
Unfortunately I am having a problem that, while I can ignore it, will just bug me until i have solved it. It is to do with the Recipe imagePath stuff at the end of chapter 2.
Basically, everything seems to be working (the jpg file gets moved from my desktop to the applicationSupportDirectory and renamed to something like 3AAEEDD…blah blah, and the destPath is persisted) however the application keeps giving me the following error in my log, and I know I must be missing something or doing something wrong.
“NSImageCell’s object value must be an NSImage”
I have tried binding the imagePath model key path to the Image view, and the Image Cell but they both produce the same error. I think there must be a problem that it is trying to load up a String instead of an image, but do not know how to convert them.
The image that gets copied doesn’t end up with a file extenstion, is that a problem?
Any help will be greatly appreciated.