darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.32k stars 434 forks source link

Implement support for unkeyed coding #724

Open LubosD opened 4 years ago

LubosD commented 4 years ago

pearCalc contains MainMenu.nib/objects.nib, but not keyedobjects.nib.

Our NSNib doesn't seem to support that.

LubosD commented 4 years ago

Working around this doesn't make it work either, because Cocotron's NSNib.m looks for keyedobjects.nib and this app has only objects.nib.

bugaevc commented 4 years ago

pathForResource:ofType: should handle language subdirectories automatically, doesn't it?

LubosD commented 4 years ago

You're right, I was confused - I'll change the issue. But it doesn't load objects.nib...

LubosD commented 4 years ago

Classes that don't support unkeyed coding:

LubosD commented 4 years ago

Correct decoder impl for Apple's unkeyed format: https://github.com/depth42/MEUnarchiver/blob/master/MEUnarchiver.m