Xcode WARNING: Unused Entity Issue: Unused Variable
ios, objective-c, xcode
Solution
The variable `newRowIndex` is initialized but not being used anywhere else.
Problem
I'm working on this tutorial application and the code is giving me this warning: Xcode WARNING: Unused Entity Issue: Unused Variable It's giving the error when executing this statement: ``` int newRowIndex = [self.checklist.items count]; ``` What's causing it? Which steps should I take to resolve this?