Hello,
I was glad to find this solution, but there is a stolperstein: I use macOS Sierra, writeToURL:: was not available.
I used fileURL.absoluteString and writeToFile::
The method ran, but without success, the path looks o.k. file:///Users/uwejagoda/Documents/Geek/data.vr,
data is an archived empty Dictionary.
I hope you have a brain wave (Waves are my lifeblood)
Uwe
Post
Replies
Boosts
Views
Activity
id description = [_orderMax description]; // _orderMax = property NSImage
NSLog(@"%@ \n", description);
2022-12-12 15:46:27.740485+0100 GreenMath.0[2992:389625] <NSImage 0x60c00007a300 Name=color010 Size={32, 32} Reps=(
"NSBitmapImageRep 0x60c0000a36c0 Size={32, 32} ColorSpace=(not yet loaded) BPS=8 BPP=(not yet loaded) Pixels=32x32 Alpha=NO Planar=NO Format=(not yet loaded) CurrentBacking=nil (faulting) CGImageSource=0x60c000030180"
)>
You can see, its t he same I send you .
Uwe
No framework, the projects I mentioned arose on Xcode 4.2, maybe a difference .
Another difference, maybe, I used objective-C
Thank you for translation, I added [NSNumber class] & [NSString class], the system is satisfied.
I still do not know what will be disallowed.