I want to know which of these is considered "best practice" for iOS development:
Declare all ivars and properties inside the .h file, so that anyone can understand the structure of the class.
Declare all ivars within the
@implementation
block, in the .m file and declare necessary properties in .h file. (Also, if necessary declare some properties in .m file for internal use). The idea here being that others don't have to bother about my structure and implementation, they can just use my code.