When we working on a project and it has lot of class where doing same job we don’t need to import these classes again and again. Instead we need to a model class. Declare these classes in a single model class and use this class when necessary.
UserModel.h – Implementation file
#import "UserInformation.h" #import "UserProducts.h" #import "UserFriendList.h"
After that we should declare this model in our “Prefix” file.
#ifdef __OBJC__ #import "UserModel.h" #endif