According to developer documentation, a class extension is implemented by declaring an @interface
in the implementation file, and it can also be used to redeclare instance variables to be private. However, I frequently see the code below that does not declare new methods or instance variables. What is its purpose?
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
...