//
//  XFDB.h
//  XFFruit
//
//  Created by freecui on 15/8/24.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import <Foundation/Foundation.h>
@class XFPhoto;
@interface XFDB : NSObject

+ (instancetype)sharedInstance;
- (BOOL)savePhoto: (XFPhoto *)aphoto ;
- (BOOL)deletePhoto: (NSData *)photoData;
- (NSMutableArray *)fetchAllPhotosFromLocal;
- (NSMutableArray *)fetchAllPhotosDataFromLocal;
@end
