V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
Livid
V2EX  ›  iDev

AFNetworking

  •  1
     
  •   Livid · 2012-02-10 20:22:19 +08:00 · 6434 次点击
    这是一个创建于 4463 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://github.com/AFNetworking/AFNetworking

    一个很好用的网络请求库。
    9 条回复    1970-01-01 08:00:00 +08:00
    levey
        1
    levey  
       2012-02-10 20:31:16 +08:00
    我感觉没ASIHttpRequest好用。
    ydhydh
        2
    ydhydh  
       2012-02-10 21:07:50 +08:00
    @levey 可能ASI用习惯了吧。
    Mattsive
        3
    Mattsive  
       2012-02-10 22:26:32 +08:00
    ASI 停止维护,是时候抛弃它了,ASIHttpRequest 明显好用很多的。

    目前的项目还需要支持 iOS 3.x,所以还在用 ASI,等以后换 AF。
    Mattsive
        4
    Mattsive  
       2012-02-10 22:27:36 +08:00
    damn, 是 AFNetworking 明显好用很多,v2ex 为毛不能修改自己发的帖
    dismory
        5
    dismory  
       2012-02-10 22:29:02 +08:00
    很赞。

    相信 Block 是以后 Objective-C 异步调用的首选形式。
    merlyle
        6
    merlyle  
       2012-02-13 11:33:19 +08:00
    不考虑这个 MKNetworkKit ?

    https://github.com/MugunthKumar/MKNetworkKit
    shinyzhu
        7
    shinyzhu  
       2012-02-14 14:10:18 +08:00
    我一直用AFNetworking,比ASI轻量多了。而且AFNetworking自定义起来非常方便。
    MKNetworkKit是整合了AFNetworking的,据说也不错,一直没尝试过。
    hengxin196
        8
    hengxin196  
       2012-02-27 13:16:23 +08:00
    ##喜欢AFNetworking的block
    sawyerzhang
        9
    sawyerzhang  
       2012-02-27 13:53:39 +08:00
    block是好好用,但是重迭用是好糟糕的事。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2181 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 11:04 · PVG 19:04 · LAX 04:04 · JFK 07:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.