iPhone/iPad开发讲座 第四讲 网络通讯和Xml处理

7,854 views

Published on

1 Comment
16 Likes
Statistics
Notes
No Downloads
Views
Total views
7,854
On SlideShare
0
From Embeds
0
Number of Embeds
272
Actions
Shares
0
Downloads
383
Comments
1
Likes
16
Embeds 0
No embeds

No notes for slide













  • iPhone/iPad开发讲座 第四讲 网络通讯和Xml处理

    1. 1. iPhone/iPad XML Blog: http://tiny4.org/blog Twitter: @Tinyfool Mail/Gtalk: tinyfool@gmail.com
    2. 2. • NSData • Foundation • NSURL / NSURLRequest / NSURLConnection • NSNetService/NSNetServiceBrowser • Core Foundation • CFNetwork • CFNetServices • BSD Sockets
    3. 3. NSData • NSData* data = [[NSData alloc] initWithContentsOfURL:url]; • NSData* data = [NSData dataWithContentsOfURL:url];
    4. 4. Foundation • •
    5. 5. GET
    6. 6. POST
    7. 7. NSURLConnectionDelegate
    8. 8. Xml • SAX/DOM
    9. 9. XML NSXMLParser
    10. 10. XML NSXMLParserDelegateEventAdditions
    11. 11. DEMO+
    12. 12. • URL Loading System Programming Guide • Introduction to Event-Driven XML Programming Guide for Cocoa • [cocoa with love]Streaming and playing an MP3 stream

    ×