首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • Snapchat API 访问:Objective-C 实现示例

    步骤 6: 处理响应实现 NSURLConnectionDelegate 协议的方法来处理服务器的响应。 运行事件循环 [[NSRunLoop currentRunLoop] run]; } return 0;}@interface AppDelegate : NSObject <NSURLConnectionDelegate

    57510编辑于 2024-09-20
  • 来自专栏码农的生活

    ios网络开发 同步下载和异步下载

    [NSURLConnection connetionWithRequest:request delegate:self]; 需要实现的代理: NSURLConnectionDataDelegate,NSURLConnectionDelegate

    82500发布于 2021-10-31
  • 来自专栏css小迷妹

    iOS实现上传图片到服务器

    initWithData:_responseData encoding:NSUTF8StringEncoding];     _success(receiveStr); } #pragma mark ---- NSURLConnectionDelegate

    3.5K30发布于 2021-10-29
  • 来自专栏一“技”之长

    AFNetWorking用法及缓存处理 原

    AFURLConnectionOperation,我们在看看AFURLConnectionOperation这个类: @interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate

    73220发布于 2018-08-15
  • 来自专栏css小迷妹

    AFNetWorking用法及缓存处理

    AFURLConnectionOperation,我们在看看AFURLConnectionOperation这个类: @interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate

    69820发布于 2021-10-29
  • Objective-C 音频爬虫:实时接收数据的 didReceiveData: 方法

    我们需要定义一个类来封装我们的音频爬虫逻辑,例如JDAudioCrawler:objc#import <Foundation/Foundation.h>@interface JDAudioCrawler : NSObject <NSURLConnectionDelegate

    56910编辑于 2024-10-28
  • 来自专栏全栈程序员必看

    Swift 学习Using Swift mix and match, network: 写rss读者

    } // // @brief 网络请示类,这里仅仅是简单实现,没有做缓存处理 // @author huangyibiao // class HttpRequest : NSObject, NSURLConnectionDelegate cancel() _connection = nil } } // // The following funcs are NSURLConnectionDelegate

    1.6K10编辑于 2022-07-06
  • 来自专栏云原生布道专栏

    【IOS】总结-AFNetworking学习笔记

    AFURLConnectionOperation 作为 NSOperation 的子类,遵循NSURLConnectionDelegate 的方法,可以从头到尾监视请求的状态,并储存请求、响应、响应数据等中间状态 更重要的是,对于每个request operation,可以通过 block 自定义 NSURLConnectionDelegate 的方法(比如,通过setWillSendRequestForAuthenticationChallengeBlock 2 AFURLConnectionOperation类 @interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate This is the valuethat is returned in the `NSURLConnectionDelegate` method`-connectionShouldUseCredentialStorage Sets a block to beexecuted to modify the response a connection will cache, if any, as handled bythe `NSURLConnectionDelegate

    1.9K30编辑于 2022-03-08
  • 来自专栏iOS技术杂谈

    iOS多线程——你要知道的NSOperation都在这里你要知道的iOS多线程NSThread、GCD、NSOperation、RunLoop都在这里

    FileDownloadOperation.m文件源码如下: #import "FileDownloadOperation.h" @interface FileDownloadOperation() <NSURLConnectionDelegate = [NSRunLoop mainRunLoop]) { //不为主线程启动RunLoop CFRunLoopRun(); } } //MARK - NSURLConnectionDelegate

    1.9K51发布于 2018-04-10
  • 来自专栏信安之路

    移动安全渗透测试清单 2022

    https://cydia.saurik.com/package/kr.typostudio.tsprotector8/ 安全库 1、PublicKey Pinning:iOS pinning 是通过一个 NSURLConnectionDelegate

    2.9K10编辑于 2022-10-04
  • 来自专栏测试开发技术

    【建议收藏】Android和iOS逆向分析/安全测试/渗透测试工具

    https://cydia.saurik.com/package/kr.typostudio.tsprotector8/ 十三、安全库 1.PublicKey Pinning iOS pinning是通过一个NSURLConnectionDelegate

    2.7K10编辑于 2024-06-11
领券