I've got a very basic question about some sample code from Apple. In the .m file, the class declarations look like this:
@interface MyMovieViewController (OverlayView)
[...]
@end
@interface MyMovieViewController (ViewController)
[...]
@end
@implementation MyMovieViewController(ViewController)
[...]
@end
@implementation MyMovieViewController (OverlayView)
[...]
@end
@implementation MyMovieViewController
[...]
@end
Full code here.
It seems like the stuff inside parentheses ("OverlayView" and "ViewController") are just there to help break up the code and make it more readable, but don't actually impact the execution of the code. But I don't want to be misunderstanding something important, so I thought I'd check to make sure.
Is my understanding right? Thanks!