Weekend good reads for Apple developers, issue #52

This week is a little bit shorter in US, so weekend good reads come a little earlier. Let's find some good reads for this long weekend.

And to wrap up this issue, here is a great video for those who are interested in security – Using A Magic Wand To Break The IPhone's Last Security Barrier by Tihmstar | hardwear.io NL 2022.

Happy holidays and see you next week!

Weekend good reads for Apple developers, issue #38

Treat yourself with some really good articles this weekend!

And this is it for today, see you next time!

Weekend good reads for Apple developers, issue #37

One beta closer to release of iOS 16 and new weekend brings us new articles to read.

Come back next weekend for more interesting topics!

Apple publishes C++ interface for Metal

Apple releases C++ wrapper for Metal.

Metal-cpp is a low-overhead C++ interface for Metal that helps developers add Metal functionality to graphics apps, games, and game engines that are written in C++.

Apple Developer

Highlights:

  • Drop in C++ alternative interface to the Metal Objective-C headers.
  • Direct mapping of all Metal Objective-C classes, constants and enums to C++ in the MTL C++ namespace.
  • No measurable overhead compared to calling Metal Objective-C headers, due to inlining of C++ function calls.
  • No usage of wrapper containers that require additional allocations.
  • Identical header files and function/constant/enum availability for iOS, iPadOS, macOS and tvOS.
  • Backwards compatibility: All bool MTL::Device::supports...() functions check if their required selectors exist and automatically return false if not.
  • String (ErrorDomain) constants are weak linked and automatically set to nullptr if not available.