Also, everyone keep in mind that on APFS, dirIDs / fileIDs (CNID) are now 64 bit, and the upper bits are actually used (curtesy of the HFS-to-APFS conversion process), so if you use those IDs, they won't be right when read via the Carbon File Mgr APIs. You'll have to use NSURL or the low level BSD functions such as getattrlist, which are a pain to use (but then, if you're still on Carbon, you must be used to that ;)
Thomas On Wed, Sep 27, 2017 at 12:50 AM, James Walker <li...@jwwalker.com> wrote: > Now that High Sierra is out, what issues are people seeing with Carbon? > Here's my list: > > 1. HICocoaView has some drawing problems, which prompted Eric Schlegel to > recently ask about HICocoaView use. Eric told me a workaround, which is to > say > > [[NSUserDefaults standardUserDefaults] registerDefaults: @{ > @"NSCGSIsSynchronousM7": @YES }]; > > fairly early in initialization. It can be after calling > NSApplicationLoad(), but needs to be before much else has been done with > Cocoa. > > 2. The low-level file system call exchangedata does not work with APFS, > but there is a similar function renamex_np that does work with APFS (and > not HFS+). > > 3. I had some menu items and buttons that used images from 'cicn' > resources go blank. I think pretty much everything having to do with > 'cicn's has been deprecated since about 10.5, so I probably can't complain > too much. > -- Thomas Tempelmann, http://apps.tempel.org/ Follow me on Twitter: https://twitter.com/tempelorg Read my programming blog: http://blog.tempel.org/
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (Carbon-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/carbon-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com