Reputation: 5
Can we use archived custom build file archive of class object and then read this class for the updates in iOS eg:
interface base {
-(void) methodbase1;
-(void) methodbase2;
}
base *objbase =[[base alloc]init];
archiving objbase -->to file
{
//if we provide this file from remote server can we update
}
reading objbase <--from file
Upvotes: 0
Views: 135
Reputation: 45598
If you are just deserializing data members and not trying anything fancy with loading dynamic code, this is perfectly OK.
Upvotes: 1
Reputation: 5827
Cocoa supports a number of ways of dynamically loading code. But these are all forbidden on iOS, and you won't get past App Store review if you try to load code using any of these methods.
Upvotes: 3