OS X support

Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun May 10 08:40:08 PDT 2015


On 2015-05-08 22:37, FreeSlave wrote:
> OS X support added. It dynamically loads some Carbon functions. But path
> to the framework is hardcoded as
> "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore"
>
> I'm not sure that it's ok, need advice from OS X programmers.

The documentation [1] recommends using "URLsForDirectory:inDomains:", 
but that is an Objective-C method.

[1] 
https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/AccessingFilesandDirectories/AccessingFilesandDirectories.html#//apple_ref/doc/uid/TP40010672-CH3-SW1

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list