So when creating an own class it’s quite common to have an id ivar that usually acts as a unique identifier. But since in Objective-C there exists the id type this creates confusion for the compiler when I declare my ivar as int id;
So how do you declare your ivar pertaining to hold ids?
Just rename the ivar:
And the list goes on…