zl程序教程

您现在的位置是:首页 >  后端

当前栏目

AFNN用到的一些方法

方法 一些 用到
2023-09-14 08:57:55 时间
//普通请求,返回值为JSON类型,代理方式回调 br - (void)requestForType:(NetworkRequestType)type info:(NSDictionary *)requestInfo target:(id)target successSel:(NSString *)successSelector failedSel:(NSString *)failed
//普通请求,返回值为JSON类型,代理方式回调
- (void)requestForType:(NetworkRequestType)type info:(NSDictionary *)requestInfo target:(id)target successSel:(NSString *)successSelector failedSel:(NSString *)failedSelector;
//普通请求,返回值为JSON类型,Block方式回调
- (void)requestForType:(NetworkRequestType)type info:(NSDictionary *)requestInfo andBlock:(void (^)(id response, NSError *error))block;
//更新用户资料,返回值为字符串,Block方式回调
- (void)updateUserInfoForType:(NetworkRequestType)type info:(NSDictionary *)requestInfo andBlock:(void (^)(NSString *result, NSError *error))block;
//上传图片,POST方式,返回值为字符串,Block方式回调
- (void)updateImages:(NSArray *)imageArray type:(NetworkRequestType)type info:(NSDictionary *)requestInfo andBlock:(void (^)(NSString *result, NSError *error))block;
      外部排序指的是大文件的排序,即待排序的记录存储在外存储器上,待排序的文件无法一次装入内存,需要在内存和外部存储器之间进行多次数据交换,以达到排序整个文件的目的。
统计数据库大小的方法 原文:统计数据库大小的方法     一台服务器上所有数据库(也可能是部分数据库)的大小是我们经常需要了解的,它不仅能让我们知道目前数据库使用磁盘的比例, 而且定期搜集这些信息,还能了解数据库一段时间的数据增量,更为常用的是在做数据迁移和升级时,方便规划新服务器磁盘容量。