Today, itβs best to place them in @implementationor in a (non-public) class extension.
Ivars are never of interest to class clients, so they should not be visible in a public API (header).
There is no big difference in putting them in @implementation or in a class extension. For consistency, I always put them in @implementation.
source
share