Developer Out There Who Knows NSFileManager + Objective C, Craft a Command Line Executable?
Looking for a developer familiar with NSFileManager (macOS) and of course Objective C and XCode. The code is technically trivial, but for me it means learning an entirely new programming language in order to access the NSFileManager APIs* (I am expert in C, C++, Java, but not Objective C). I can and will do it if need be, but it’s more time than I have for it right now, and it’s purely an optimization.
We’re talking “fun project” here and I would require the copyright to the code (necessarily so to maintain/expand), minimal or no $$$ but happy to trade subscriptions on my site or similar and of course, my thanks.
I need a command line executable that can read commands on stdin , execute each command until no more commands (EOF). IntegrityChecker Java to exec() this executable and issue the commands.
This is to work around some Java API limitations** (speed and lack of functionality)... mainly in order to get a 100X performance increase for a forthcoming feature. And it’s macOS specific for this cool new feature. Speed for this new feature is not an issue on macOS Monterey, but prior versions of macOS are 60X slower for one particular thing, naming xattr, which is a Python script on earlier versions of macOS, and thus godawful slow.
* AFAIK, C++ code cannot access the NSFIleManager APIs. But if it can, then I could write it pretty quickly. All I’d need is some help understanding how to access NSFIleManager in C++ (no Objective C used).
** JNI not appealing and has its own issues. JEP 420 not ready for prime time and doesn’t work for Apple frameworks.