fmdb h file

//

#import <Foundation/Foundation.h>

#import “CommanKeyApi.h”

#import “CommonUtils.h”

#import “ImageComman.h”

#import “RestApiComman.h”

@interface DBManager : NSObject

@property (nonatomic, strong) NSMutableArray *arrColumnNames;

@property (nonatomic) int affectedRows;

@property (nonatomic) long long lastInsertedRowID;

@property (nonatomic, strong) NSTimer *updateTimer;

+(DBManager*)getSharedInstance;

-(instancetype)initWithDatabaseFilename:(NSString *)dbFilename;

– (BOOL)addtocart:(NSMutableDictionary *)dataList;

– (BOOL)SaveCategory:(NSMutableDictionary *)dataList;

-(BOOL)Cheakexites:(NSString *)userid productid:(NSString*)productid;

-(BOOL)CheakexitesRecode:(NSString*)productid;

-(NSMutableArray*)getcartitem:(NSString *)user_id;

-(BOOL)Deleterecode:(NSString *)query;

– (BOOL)updatecart:(NSString *)userid qty:(NSString*)counter proudct_id:(NSString*)product;

– (BOOL)updaterecode:(NSString *)query;

@end

 

—————–pod ————–

# Uncomment the next line to define a global platform for your project
# platform :ios, ‘9.0’

target ‘GoLeague’ do
use_frameworks!

pod ‘Alamofire’
pod ‘AlamofireObjectMapper’
pod ‘ObjectMapper’

pod ‘SwiftyJSON’
pod ‘SwiftyUserDefaults’

pod ‘SDWebImage’

pod ‘CarbonKit’

pod ‘EZSwiftExtensions’

pod ‘NVActivityIndicatorView’

pod ‘Fabric’
pod ‘Crashlytics’

pod ‘SwipeCellKit’

pod ‘SVProgressHUD’

end

 

Leave a comment

search previous next tag category expand menu location phone mail time cart zoom edit close