I am trying to enable arc in my application but when xcode check my project then it is giving one error on given below line.
Tile ***grid;
Error: pointer to non-const type Tile * with no explicit ownership.
Please guide me how to solve this problem.
ARC cannot infer what storage type it should use. So you have to tell it!
Tile * __strong **grid; // Strong reference to grid
Tile * __weak **grid; // Weak reference to grid
More about strong and weak references can be found here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With