I am using
imageData = UIImagePNGRepresentation(imgvw.image);
and while posting
[dic setObject:imagedata forKey:@\"image\"];
you can Convert Your image in ti NSData like:-
if PNG image
UIImage *image = [UIImage imageNamed:@"imageName.png"];
NSData *imageData = [NSData dataWithData:UIImagePNGRepresentation(image)];
if JPG image
UIImage *image = [UIImage imageNamed:@"imageName.jpg"];
NSData *imageData = UIImageJPEGRepresentation(image, 1.0);
and you can store it in to CoreData may be like this way is usefull for you:-
[newManagedObject setValue:imageData forKey:@"image"];
You can load like :-
NSManagedObject *selectedObject = [[self yourFetchCOntroller] objectAtIndexPath:indexPath];
UIImage *image = [UIImage imageWithData:[selectedObject valueForKey:@"image"]];
// and set this image in to your image View
yourimageView.image=image;