News for hackers. Stuff that matters.
Re:On Apple's Love Affair with Swift by pjmlp on Saturday August 11, 2018 @10:01AM (#17739690)
Try to use ARC with C APIs.
Re:On Apple's Love Affair with Swift by 0x0 on Saturday August 11, 2018 @10:03AM (#17739706)
That's like saying try to use Java JNI with C APIs. Think of direct C API access in Objective-C a bonus, not a design pattern :)
Re:On Apple's Love Affair with Swift by pjmlp on Saturday August 11, 2018 @10:11AM (#17739735)
Completly different, ARC only works with APIs that follow Cocoa retain/release patterns, which aren't the only APIs that one needs to use, e.g. CoreGraphics.

And unlike JNI they aren't protected by a VM wall.