sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

Linter for not using ObjC new

Open philipphofmann opened this issue 3 years ago • 0 comments

Description

According to this blog post, https://blog.cristik.com/2018/02/objective-c-new-is-dangerous-and-old-avoid-it-at-all-costs/ and this https://github.com/getsentry/sentry-cocoa/pull/1969#discussion_r957770700 using [new] is dangerous and should be avoided.

We should use a linter or another check to avoid using it in our code.

philipphofmann avatar Sep 06 '22 12:09 philipphofmann