SlideShare ist ein Scribd-Unternehmen logo
1 von 13
iPhone/iPad
                    XML

              Blog: http://tiny4.org/blog
                     Twitter: @Tinyfool
        Mail/Gtalk: tinyfool@gmail.com
•   NSData

•   Foundation

    •   NSURL / NSURLRequest / NSURLConnection

    •   NSNetService/NSNetServiceBrowser

•   Core Foundation

    •   CFNetwork

    •   CFNetServices

•   BSD Sockets
NSData


•   NSData* data = [[NSData alloc] initWithContentsOfURL:url];

•   NSData* data = [NSData dataWithContentsOfURL:url];
Foundation


•
•
GET
POST
NSURLConnectionDelegate
Xml


• SAX/DOM
XML
 NSXMLParser
XML
NSXMLParserDelegateEventAdditions
DEMO+
•   URL Loading System Programming Guide

•   Introduction to Event-Driven XML Programming Guide for
    Cocoa

•   [cocoa with love]Streaming and playing an MP3 stream

Weitere ähnliche Inhalte

Was ist angesagt?

Everyone Loves a Sausage
Everyone Loves a SausageEveryone Loves a Sausage
Everyone Loves a SausageNick Jones
 
Configuring MongoDB HA Replica Set on AWS EC2
Configuring MongoDB HA Replica Set on AWS EC2Configuring MongoDB HA Replica Set on AWS EC2
Configuring MongoDB HA Replica Set on AWS EC2ShepHertz
 
Ansible Introduction - Ansible Brno #1 - David Karban
Ansible Introduction - Ansible Brno #1 - David KarbanAnsible Introduction - Ansible Brno #1 - David Karban
Ansible Introduction - Ansible Brno #1 - David Karbanansiblebrno
 
Managing Your Cisco Datacenter Network with Ansible
Managing Your Cisco Datacenter Network with AnsibleManaging Your Cisco Datacenter Network with Ansible
Managing Your Cisco Datacenter Network with Ansiblefmaccioni
 
Ansible PyWAW
Ansible PyWAWAnsible PyWAW
Ansible PyWAWgnosek
 
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...Puppet
 
Painless ruby deployment on shelly cloud
Painless ruby deployment on shelly cloudPainless ruby deployment on shelly cloud
Painless ruby deployment on shelly cloudGiedrius Rimkus
 
Puppet Camp DC 2014: Keynote
Puppet Camp DC 2014: KeynotePuppet Camp DC 2014: Keynote
Puppet Camp DC 2014: KeynotePuppet
 
Advanced Web Hosting
Advanced Web HostingAdvanced Web Hosting
Advanced Web HostingOVHcloud
 
Intro to HTTP and Node.js
Intro to HTTP and Node.jsIntro to HTTP and Node.js
Intro to HTTP and Node.jsJean-Luc David
 
Using Ansible at Scale to Manage a Public Cloud
Using Ansible at Scale to Manage a Public CloudUsing Ansible at Scale to Manage a Public Cloud
Using Ansible at Scale to Manage a Public CloudJesse Keating
 
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...OVHcloud
 
Introduction to ansible
Introduction to ansibleIntroduction to ansible
Introduction to ansibleDharmit Shah
 
Hosting MongoDB & our experience with database as a service
Hosting MongoDB & our experience with database as a serviceHosting MongoDB & our experience with database as a service
Hosting MongoDB & our experience with database as a serviceGrzegorz Gwoźdź
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBJean-Luc David
 
Data Processing and Ruby in the World
Data Processing and Ruby in the WorldData Processing and Ruby in the World
Data Processing and Ruby in the WorldSATOSHI TAGOMORI
 
Automation with Packer and TerraForm
Automation with Packer and TerraFormAutomation with Packer and TerraForm
Automation with Packer and TerraFormWesley Charles Blake
 

Was ist angesagt? (20)

Everyone Loves a Sausage
Everyone Loves a SausageEveryone Loves a Sausage
Everyone Loves a Sausage
 
Configuring MongoDB HA Replica Set on AWS EC2
Configuring MongoDB HA Replica Set on AWS EC2Configuring MongoDB HA Replica Set on AWS EC2
Configuring MongoDB HA Replica Set on AWS EC2
 
Ansible Introduction - Ansible Brno #1 - David Karban
Ansible Introduction - Ansible Brno #1 - David KarbanAnsible Introduction - Ansible Brno #1 - David Karban
Ansible Introduction - Ansible Brno #1 - David Karban
 
Managing Your Cisco Datacenter Network with Ansible
Managing Your Cisco Datacenter Network with AnsibleManaging Your Cisco Datacenter Network with Ansible
Managing Your Cisco Datacenter Network with Ansible
 
Ansible PyWAW
Ansible PyWAWAnsible PyWAW
Ansible PyWAW
 
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
 
Painless ruby deployment on shelly cloud
Painless ruby deployment on shelly cloudPainless ruby deployment on shelly cloud
Painless ruby deployment on shelly cloud
 
Puppet Camp DC 2014: Keynote
Puppet Camp DC 2014: KeynotePuppet Camp DC 2014: Keynote
Puppet Camp DC 2014: Keynote
 
Advanced Web Hosting
Advanced Web HostingAdvanced Web Hosting
Advanced Web Hosting
 
London Hug 19/5 - Terraform in Production
London Hug 19/5 - Terraform in ProductionLondon Hug 19/5 - Terraform in Production
London Hug 19/5 - Terraform in Production
 
Intro to HTTP and Node.js
Intro to HTTP and Node.jsIntro to HTTP and Node.js
Intro to HTTP and Node.js
 
Using Ansible at Scale to Manage a Public Cloud
Using Ansible at Scale to Manage a Public CloudUsing Ansible at Scale to Manage a Public Cloud
Using Ansible at Scale to Manage a Public Cloud
 
ansible why ?
ansible why ?ansible why ?
ansible why ?
 
OpenStack Manila 紹介
OpenStack Manila 紹介OpenStack Manila 紹介
OpenStack Manila 紹介
 
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
 
Introduction to ansible
Introduction to ansibleIntroduction to ansible
Introduction to ansible
 
Hosting MongoDB & our experience with database as a service
Hosting MongoDB & our experience with database as a serviceHosting MongoDB & our experience with database as a service
Hosting MongoDB & our experience with database as a service
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Data Processing and Ruby in the World
Data Processing and Ruby in the WorldData Processing and Ruby in the World
Data Processing and Ruby in the World
 
Automation with Packer and TerraForm
Automation with Packer and TerraFormAutomation with Packer and TerraForm
Automation with Packer and TerraForm
 

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

Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020Timothy Spann
 
Owning time series with team apache Strata San Jose 2015
Owning time series with team apache   Strata San Jose 2015Owning time series with team apache   Strata San Jose 2015
Owning time series with team apache Strata San Jose 2015Patrick McFadin
 
Collector Web Services
Collector Web ServicesCollector Web Services
Collector Web Servicespublisyst
 
Common PhoneGap Gotchas (#PGDay EU 2016)
Common PhoneGap Gotchas (#PGDay EU 2016)Common PhoneGap Gotchas (#PGDay EU 2016)
Common PhoneGap Gotchas (#PGDay EU 2016)Kerri Shotts
 
Learn to love networking on iOS
Learn to love networking on iOSLearn to love networking on iOS
Learn to love networking on iOSPaolo Tagliani
 
Introduction to Node.js: What, why and how?
Introduction to Node.js: What, why and how?Introduction to Node.js: What, why and how?
Introduction to Node.js: What, why and how?Christian Joudrey
 
Puppet Camp Tokyo 2014: Keynote
Puppet Camp Tokyo 2014: KeynotePuppet Camp Tokyo 2014: Keynote
Puppet Camp Tokyo 2014: KeynotePuppet
 
Puppetpreso
PuppetpresoPuppetpreso
Puppetpresoke4qqq
 
WarsawITDays_ ApacheNiFi202
WarsawITDays_ ApacheNiFi202WarsawITDays_ ApacheNiFi202
WarsawITDays_ ApacheNiFi202Timothy Spann
 
How to integration DataPower with Zos
How to integration DataPower with ZosHow to integration DataPower with Zos
How to integration DataPower with ZosShiu-Fun Poon
 
Introduction to NodeJS with LOLCats
Introduction to NodeJS with LOLCatsIntroduction to NodeJS with LOLCats
Introduction to NodeJS with LOLCatsDerek Anderson
 
Oracle Sandbox
Oracle SandboxOracle Sandbox
Oracle SandboxDatavail
 
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...ITCamp
 
Apache CloudStack Collab Miami - User Data : Alternatives to the VR
Apache CloudStack Collab Miami - User Data : Alternatives to the VRApache CloudStack Collab Miami - User Data : Alternatives to the VR
Apache CloudStack Collab Miami - User Data : Alternatives to the VRKris Sterckx
 
Oracle E-Business Suite On Oracle Cloud
Oracle E-Business Suite On Oracle CloudOracle E-Business Suite On Oracle Cloud
Oracle E-Business Suite On Oracle Cloudpasalapudi
 
Cloud Meetup - Automation in the Cloud
Cloud Meetup - Automation in the CloudCloud Meetup - Automation in the Cloud
Cloud Meetup - Automation in the Cloudpetriojala123
 
Puppet Camp Boston 2014: Keynote
Puppet Camp Boston 2014: Keynote Puppet Camp Boston 2014: Keynote
Puppet Camp Boston 2014: Keynote Puppet
 

Ähnlich wie iPhone/iPad开发讲座 第四讲 网络通讯和Xml处理 (20)

Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020Learning the basics of Apache NiFi for iot OSS Europe 2020
Learning the basics of Apache NiFi for iot OSS Europe 2020
 
Owning time series with team apache Strata San Jose 2015
Owning time series with team apache   Strata San Jose 2015Owning time series with team apache   Strata San Jose 2015
Owning time series with team apache Strata San Jose 2015
 
Collector Web Services
Collector Web ServicesCollector Web Services
Collector Web Services
 
Common PhoneGap Gotchas (#PGDay EU 2016)
Common PhoneGap Gotchas (#PGDay EU 2016)Common PhoneGap Gotchas (#PGDay EU 2016)
Common PhoneGap Gotchas (#PGDay EU 2016)
 
Learn to love networking on iOS
Learn to love networking on iOSLearn to love networking on iOS
Learn to love networking on iOS
 
Nodejs web,db,hosting
Nodejs web,db,hostingNodejs web,db,hosting
Nodejs web,db,hosting
 
Introduction to Node.js: What, why and how?
Introduction to Node.js: What, why and how?Introduction to Node.js: What, why and how?
Introduction to Node.js: What, why and how?
 
Puppet Camp Tokyo 2014: Keynote
Puppet Camp Tokyo 2014: KeynotePuppet Camp Tokyo 2014: Keynote
Puppet Camp Tokyo 2014: Keynote
 
Puppetpreso
PuppetpresoPuppetpreso
Puppetpreso
 
WarsawITDays_ ApacheNiFi202
WarsawITDays_ ApacheNiFi202WarsawITDays_ ApacheNiFi202
WarsawITDays_ ApacheNiFi202
 
How to integration DataPower with Zos
How to integration DataPower with ZosHow to integration DataPower with Zos
How to integration DataPower with Zos
 
Html 5 boot camp
Html 5 boot campHtml 5 boot camp
Html 5 boot camp
 
Introduction to NodeJS with LOLCats
Introduction to NodeJS with LOLCatsIntroduction to NodeJS with LOLCats
Introduction to NodeJS with LOLCats
 
Oracle Sandbox
Oracle SandboxOracle Sandbox
Oracle Sandbox
 
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
 
Apache CloudStack Collab Miami - User Data : Alternatives to the VR
Apache CloudStack Collab Miami - User Data : Alternatives to the VRApache CloudStack Collab Miami - User Data : Alternatives to the VR
Apache CloudStack Collab Miami - User Data : Alternatives to the VR
 
Oracle E-Business Suite On Oracle Cloud
Oracle E-Business Suite On Oracle CloudOracle E-Business Suite On Oracle Cloud
Oracle E-Business Suite On Oracle Cloud
 
Cloud Meetup - Automation in the Cloud
Cloud Meetup - Automation in the CloudCloud Meetup - Automation in the Cloud
Cloud Meetup - Automation in the Cloud
 
Puppet Camp Boston 2014: Keynote
Puppet Camp Boston 2014: Keynote Puppet Camp Boston 2014: Keynote
Puppet Camp Boston 2014: Keynote
 
ITB2017 - Keynote
ITB2017 - KeynoteITB2017 - Keynote
ITB2017 - Keynote
 

Mehr von Hao Peiqiang

移动互联网和App的未来
移动互联网和App的未来移动互联网和App的未来
移动互联网和App的未来Hao Peiqiang
 
搜索引擎友好的网站设计
搜索引擎友好的网站设计搜索引擎友好的网站设计
搜索引擎友好的网站设计Hao Peiqiang
 
第二讲 iPhone产品战略和用户界面设计
第二讲 iPhone产品战略和用户界面设计第二讲 iPhone产品战略和用户界面设计
第二讲 iPhone产品战略和用户界面设计Hao Peiqiang
 
iOS平台形势和互联网企业如何应对移动浪潮 topgeek版
iOS平台形势和互联网企业如何应对移动浪潮 topgeek版iOS平台形势和互联网企业如何应对移动浪潮 topgeek版
iOS平台形势和互联网企业如何应对移动浪潮 topgeek版Hao Peiqiang
 
iOS平台发展形势分析 sd2.0版本
iOS平台发展形势分析 sd2.0版本iOS平台发展形势分析 sd2.0版本
iOS平台发展形势分析 sd2.0版本Hao Peiqiang
 
iPhone/iPad开发讲座 第六讲 多点触摸和手势识别
iPhone/iPad开发讲座 第六讲 多点触摸和手势识别iPhone/iPad开发讲座 第六讲 多点触摸和手势识别
iPhone/iPad开发讲座 第六讲 多点触摸和手势识别Hao Peiqiang
 
iPhone/iPad开发讲座 第五讲 定制视图和多点触摸
iPhone/iPad开发讲座 第五讲 定制视图和多点触摸iPhone/iPad开发讲座 第五讲 定制视图和多点触摸
iPhone/iPad开发讲座 第五讲 定制视图和多点触摸Hao Peiqiang
 
iPhone/iPad开发讲座 第三讲 界面和编程基础
iPhone/iPad开发讲座 第三讲 界面和编程基础iPhone/iPad开发讲座 第三讲 界面和编程基础
iPhone/iPad开发讲座 第三讲 界面和编程基础Hao Peiqiang
 
iPhone/iPad开发讲座 第二讲 iPhone用户界面设计
iPhone/iPad开发讲座 第二讲 iPhone用户界面设计iPhone/iPad开发讲座 第二讲 iPhone用户界面设计
iPhone/iPad开发讲座 第二讲 iPhone用户界面设计Hao Peiqiang
 
iPhone/iPad开发讲座 第一讲 Ios开发简介
iPhone/iPad开发讲座  第一讲 Ios开发简介iPhone/iPad开发讲座  第一讲 Ios开发简介
iPhone/iPad开发讲座 第一讲 Ios开发简介Hao Peiqiang
 
雪计算和twitter的信息传播方式
雪计算和twitter的信息传播方式雪计算和twitter的信息传播方式
雪计算和twitter的信息传播方式Hao Peiqiang
 
搜索引擎与搜索引擎营销
搜索引擎与搜索引擎营销搜索引擎与搜索引擎营销
搜索引擎与搜索引擎营销Hao Peiqiang
 
iPhone Os开发简介
iPhone Os开发简介iPhone Os开发简介
iPhone Os开发简介Hao Peiqiang
 

Mehr von Hao Peiqiang (16)

移动互联网和App的未来
移动互联网和App的未来移动互联网和App的未来
移动互联网和App的未来
 
搜索引擎友好的网站设计
搜索引擎友好的网站设计搜索引擎友好的网站设计
搜索引擎友好的网站设计
 
第二讲 iPhone产品战略和用户界面设计
第二讲 iPhone产品战略和用户界面设计第二讲 iPhone产品战略和用户界面设计
第二讲 iPhone产品战略和用户界面设计
 
iOS平台形势和互联网企业如何应对移动浪潮 topgeek版
iOS平台形势和互联网企业如何应对移动浪潮 topgeek版iOS平台形势和互联网企业如何应对移动浪潮 topgeek版
iOS平台形势和互联网企业如何应对移动浪潮 topgeek版
 
iOS平台发展形势分析 sd2.0版本
iOS平台发展形势分析 sd2.0版本iOS平台发展形势分析 sd2.0版本
iOS平台发展形势分析 sd2.0版本
 
iPhone/iPad开发讲座 第六讲 多点触摸和手势识别
iPhone/iPad开发讲座 第六讲 多点触摸和手势识别iPhone/iPad开发讲座 第六讲 多点触摸和手势识别
iPhone/iPad开发讲座 第六讲 多点触摸和手势识别
 
iPhone/iPad开发讲座 第五讲 定制视图和多点触摸
iPhone/iPad开发讲座 第五讲 定制视图和多点触摸iPhone/iPad开发讲座 第五讲 定制视图和多点触摸
iPhone/iPad开发讲座 第五讲 定制视图和多点触摸
 
iPhone/iPad开发讲座 第三讲 界面和编程基础
iPhone/iPad开发讲座 第三讲 界面和编程基础iPhone/iPad开发讲座 第三讲 界面和编程基础
iPhone/iPad开发讲座 第三讲 界面和编程基础
 
iPhone/iPad开发讲座 第二讲 iPhone用户界面设计
iPhone/iPad开发讲座 第二讲 iPhone用户界面设计iPhone/iPad开发讲座 第二讲 iPhone用户界面设计
iPhone/iPad开发讲座 第二讲 iPhone用户界面设计
 
iPhone/iPad开发讲座 第一讲 Ios开发简介
iPhone/iPad开发讲座  第一讲 Ios开发简介iPhone/iPad开发讲座  第一讲 Ios开发简介
iPhone/iPad开发讲座 第一讲 Ios开发简介
 
雪计算和twitter的信息传播方式
雪计算和twitter的信息传播方式雪计算和twitter的信息传播方式
雪计算和twitter的信息传播方式
 
搜索引擎与搜索引擎营销
搜索引擎与搜索引擎营销搜索引擎与搜索引擎营销
搜索引擎与搜索引擎营销
 
雪计算
雪计算雪计算
雪计算
 
Snow Computing
Snow ComputingSnow Computing
Snow Computing
 
Iphone Dev
Iphone DevIphone Dev
Iphone Dev
 
iPhone Os开发简介
iPhone Os开发简介iPhone Os开发简介
iPhone Os开发简介
 

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

Hinweis der Redaktion