Can we initalize dynamically any Modal class. rather than creating any NSObject class with property values as likes string inside that class.
default we do code as like: in .h file
@interface MyUser : NSObject
@property (nonatomic, strong) NSString *username,*bio,*website;
@end
in .m file
@implementation InstaUser
@synthesize bio;
@end
To use that we do:
MyUser *sendUser = [[MyUser alloc]init];
sendUser.username = @"JHON";
sendUser.bio = @"abcdcskdfhksfjhfkjsdf";
I Don't want to create so many this type of modal class rather then this just any dynamic method to initalize class property and use it by inline code.