Skip to content

Instantly share code, notes, and snippets.

@wess
Created February 12, 2015 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wess/ee99efffd37fc7e37491 to your computer and use it in GitHub Desktop.
Save wess/ee99efffd37fc7e37491 to your computer and use it in GitHub Desktop.
- (void)saveModel:(MTLModel *)model forKey:(NSString *)key error:(NSError *__autoreleasing *)error
{
NSFileManager *fileManager = [NSFileManager defaultManager];
NSString *path = [self pathForModel:model];
path = [path stringByAppendingPathComponent:key];
}
- (MTLModel *)objectForKey:(NSString *)key
{
return nil;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment