Profile Photo
On Mojave, my app needs a way to determine if the user has already added the app to the "Full Disk Access" list in System Preferences. (And if not, instruct him to do so).   So far I've been using the following empirical test:   int c = open("/Library/Application Support/com.apple.TCC/TCC.db", O_RDONLY); if (c == -1 && (errno == EPERM || errno… (Show more)
in Files and Storage
Profile Photo
I have used Instruments' Leaks profiler on the Apple's "HelloTriangle.app" sample code. I can see a lot of memory leaks, most of them happen in -[AAPLRenderer drawInMTKView:] and are related to allocating the command buffer and presenting drawables.   What could be the reason and how to fix these leaks. Or is it bugs in Metal SDK itself?
in Metal