4 ms·
Though it's a C API, CGBitmapContextCreate is notorious for this. While it doesn't address everything you're alluding to, I'm a big fan of Swift's nonnull/null
by rbritton 11y ago
Though it's a C API, CGBitmapContextCreate is notorious for this.
While it doesn't address everything you're alluding to, I'm a big fan of Swift's nonnull/nullable making its way into Objective-C since some of Apple's APIs don't play well with a nil parameter (e.g., -[NSString isEqualToString:]).