日々精進

新しく学んだことを書き留めていきます

Pointer to non-const type 'NSError *' with no explicit ownership.エラー

__autoreleasingを使うとエラーが解消できる。
objective c - Automatic Reference Counting: Pointer to non-const type 'NSError *' with no explicit ownership - Stack Overflow