聚合云播

排序

墨西哥之疯狂摔角狂人剧情简介

";#pragma mark - 下载文件网络urlNSString *const kAppDownloaderUrl = @"http://dldir1.qq.com/weixin/android/weixin6330android920.apk";#pragma mark - NSURLSession的Task的状态的属性NSString *NSStringFromNSURLSessionTaskState(NSURLSessionTaskState state) { NSString *stateString = @""; switch (state) { case NSURLSessionTaskStateRunning: { stateString = @"NSURLSessionTaskStateRunning"; } break; case NSURLSessionTaskStateSuspended: { stateString = @"NSURLSessionTaskStateSuspended"; } break; case NSURLSessionTaskStateCanceling: { stateString = @"NSURLSessionTaskStateCanceling"; } break; case NSURLSessionTaskStateCompleted: { stateString = @"NSURLSessionTaskStateCompleted"; } break; default: break; } return stateString;}#pragma mark - 无法访问Apple的一些服务(如AppStore)#pragma mark - 网络请求状态通知NSString *const kNetworkStatusNotification = @"NetworkStatusNotification";NSString *NSStringFromNetworkStatus(NetworkStatus status) { NSString *statusString = @""; switch (status) { case NotReachable: { statusString = @"无网络"; } break; case ReachableViaWWAN: { statusString = @"蜂窝网络"; } break; case ReachableViaWiFi: { statusString = @"WiFi"; } break; default: break; } return statusString;}#pragma mark - 无法访问Apple的一些服务(如AppStore)NSString *const kUnableToAccessAppleService = @"UnableToAccessAppleService";NSString *NSStringFromUnableToAccessAppleService(UnableToAccessAppleService unAbleToAccessAppleService) { NSString *unableToAccessAppleServiceString = @""; switch (unAbleToAccessAppleService) { case kUnableToAccessAppleServiceNot: { unableToAccessAppleServiceString = @""; } break; case kUableToAccessAppleServiceAppStore: { unableToAccessAppleServiceString = @"无法访问的服务:AppStore"; } break; case kUnableToAccessAppleServiceAppleAccount: { unableToAccessAppleServiceString = @"无法访问的服务:AppleAccount"; } break; default: break; } return unableToAccessAppleServiceString;}#pragma mark - 更新用户信息屏幕通知NSString *const kUpdateUserInfoNotification = @"kUpdateUserInfoNotification";#pragma mark - 登出账号通知NSString *const kLogoutAccountNotification = @"kLogoutAccountNotification";#pragma mark - 登录成功通知NSString *const kLoginSuccessNotification = @"kLoginSuccessNotification";#pragma mark - 用户信息发生改变通知NSString *const kUserInfoDidChangeNotification = @"kUserInfoDidChangeNotification";#pragma mark - 自定义HTTP请求缓存策略NSString *NSStringFromCustomHTTPCachePolicy(CustomHTTPCachePolicy customHTTPCachePolicy){ NSString *customHTTPCachePolicyString = @""; switch (customHTTPCachePolicy) { case CustomHTTPCachePolicyReturnCacheDataAndLoadFromServer: { customHTTPCachePolicyString = @"有缓存则使用,无则请求服务器"; } break; case CustomHTTPCachePolicyReloadIgnoringLocalCacheData: { customHTTPCachePolicyString = @"忽略缓存,重新请求"; } break; case CustomHTTPCachePolicyReturnCacheDataElseLoad: { customHTTPCachePolicyString = @"没过期,有缓存则使用,无则请求服务器"; } break; case CustomHTTPCachePolicyReturnCacheDataDontLoad: { customHTTPCachePolicyString =