IOS network programming and cloud application best practices-source code download, digest

Source: Internet
Author: User

 




Http://download.csdn.net/detail/tonny_guan/5419117


Http://download.csdn.net/detail/tonny_guan/5419123

204462948


Http://weibo.com/516inc

 

  • Author: Guan Dongsheng
  • Publishing Club: Tsinghua University Press
  • Published on:
  • Version: 1 page: 424

IOS network programming and cloud application Best Practices
Directory
Recommendation sequence (1) I
Recommendation sequence (ii) iii
Praise v
Preface VII

Chapter 1 Overview

1.1 book Structure

Conventions in the 1.2 book

1.2.1 instance code conventions

1.2.2 conventions

Network Basics

Chapter 2 unlimited communication-Apple's Network

2.1 Network Structure

2.1.1 Client Server Structure Network

2.1.2 peer-to-peer network

2.2 Socket-Based C/S structure network communication

2.2.1Socket Concept

2.2.2Socket Programming

2.2.3 instance: NSStream & CFStream implements TCP Socket server

2.2.4 instance: NSStream & CFStream implement TCP Socket Client

2.3Bonjour service discovery

2.3.1 publish a service

2.3.2 Resolution Service

2.3.3 Search Service

2.3.4 instance: Socket Communication Server Based on service discovery

2.3.5 instance: Socket Communication client based on service discovery

2.4 peer-to-peer network

2.4.1 use Game Kit to develop peer-to-peer network applications

2.4.2 instance: Bluetooth peer-to-peer network communication

Summary of this Chapter

Chapter 4 Data Exchange Format

3.1XML Data Exchange Format

3.1.1 document structure

3.1.2XML file parsing and framework performance

3.1.3 example: MyNotes application XML

3.2JSON Data Exchange Format

3.2.1 document structure

3.2.2JSON data encoding/decoding and framework performance

3.2.3 example: JSON Decoding of MyNotes applications

Summary of this Chapter

Cloud Service

Chapter 4 Use Web Service-network communication Based on Client Server Structure

4.1 REST Web Service

4.1.1HTTP and HTTPS protocols

4.1.2 synchronous GET Method Request Programming

4.1.3 asynchronous GET Method Request Programming

4.1.4POST Method Request Programming

4.1.5 instance: MyNotes application implemented by REST Web Service

4.2 SOAP Web Service

4.2.1WSDL Concept

4.2.2SOAP Protocol

4.2.3 instance: SOAP Web Service implements MyNotes applications

4.3ASIHTTPRequest framework

4.3.1 install and configure the ASIHTTPRequest framework

4.3.2 synchronous request

4.3.3 asynchronous request

4.3.4 instance: Request queue Application

4.3.5 instance: Upload data application

4.4 feedback on network information to improve user experience

4.4.1iOS 6 Table view refreshing Control

4.4.2 use the wait indicator control

4.4.3 use the network wait indicator

4.4.4 use the MBProgressHUD wait indicator

Summary of this Chapter

Chapter 2 iCloud Programming

5.1 Apple cloud service-iCloud

5.2 configure iCloud

5.2.1 create an App ID

5.2.2 create a configuration Profile

5.3iCloud Data Storage

5.3.1cloud key-Value Data Storage

5.3.2iCloud document storage

5.3.3precautions for cloud storage

5.4cloud key-value data storage Programming

5.4.1 instance: cloud key value data storage design

5.4.2 configure the Xcode Project

5.4.3 code implementation

5.5iCloud document storage Programming

5.5.1 example: Programming Design of iCloud document storage

5.5.2 configure the Xcode Project

5.5.3 custom document class

5.5.4 obtain the iCloud document directory

5.5.5 search for documents in the Ubiquity container

5.5.6 Save the document

5.5.7 resolve document conflicts

5.6 use Core Data technology under iCloud

5.6.1 instance: Programming Design of iCloud Core Data

5.6.2 use Xcode to create a Core Data project

5.6.3 create a persistent Storage Coordinator

5.6.4 create a managed object context

5.6.5 merge cloud and local data

Summary of this Chapter

Social networking

Chapter 2 Social Network Programming

6.1 Apple's social network

6.1.1 Set Account Information

6.1.2 social network programming API

6.2iOS 6 Sharing list -- UIActivityViewController

6.2.1 built-in activity list items

6.2.2 custom activity list items

6.3 write View Controller -- SLComposeViewController

6.4 write your own social network client

6.4.1 instance: Compile Sina Weibo Client

6.4.2 instance: compile a Twitter Client

6.4.3 instance: Compile the Facebook Client

Summary of this Chapter

Chapter 4 positioning service and map application development

7.1 positioning service

7.1.1 Positioning Service Programming

7.1.2 anti-encoding of geographic information

7.1.3 query of Geographic Information encoding

7.1.4 Test the positioning service

7.2 use iOS 6 Apple Map

7.2.1 display Map

7.2.2 add Annotation

7.2.3 tracking user location changes

7.3 use an out-of-app Map

7.3.1 call iOS 6 Apple Map

7.3.2 call Google Web Map

7.4 use a localized Baidu Map

7.4.1 installation and initialization of Baidu Map

7.4.2 display Map

7.4.3 Geographic Information encoding and anti-Encoding

7.4.4 add annotation points

Summary of this Chapter

E-commerce

Chapter 4 publish your promotion information-push notifications

How many "notifications" Does Apple have in 8.1"

8.1.1 broadcast notification

8.1.2 local notification

8.1.3 push notification

8.2 configure push notifications

8.2.1 Certificate Signing Request

8.2.2 configure application push notifications

8.2.3 generate an SSL Certificate

8.2.4 export the p12 file for the SSL Certificate

8.3iOS client Programming

8.3.1 configure the Xcode Project

8.3.2 code implementation

8.4 push Server programming

8.4.1 PUSH Service using PHP

8.4.2 use Java PUSH Service

Summary of this Chapter

Chapter 3 Newsstand Application Programming

9.1iOS 5 Newsstand Application

9.2Newsstand Application Programming

9.2.1 configure Newsstand

9.2.2 use Newsstand Kit API

9.3 example: MyNewsstand magazine Application

9.3.1 instance design prototype sketch

9.3.2 instance design class diagram

9.3.3 initialize the magazine Screen

9.3.4 proactive resource download

9.3.5 background resource download

9.3.6 resumable upload

9.3.7 read magazine content

Summary of this Chapter

Chapter 4 purchase in-app

10.1 Design of In-APP purchase instances

10.2 test environment construction

10.2.1 add test user

10.2.2 create an App ID

10.2.3 Add a blank Application

10.2.4 add product information for the Application

10.3 server product type purchase in-app

10.3.1 Workflow

10.3.2 instance: iOS client purchased in-app

10.3.3 instance: server side implemented by PHP

Summary of this Chapter

Chapter 2 iOS 6 Passbook Application Development

11.1Passbook and Pass

Five style 11.1.1Pass

Internal Structure of 11.1.2Pass

11.2 design Pass

11.2.1pass.json file structure

11.2.2Pass type and Field

11.2.3 two-dimensional Barcode

11.2.4 position and time

11.2.5 Localization

11.2.6 use of icons and Images

11.3 create Pass

11.3.1 create a Pass certificate

11.3.2 digital signature and packaging of Pass files

11.4 release Pass

11.4.1E? Mail Publishing

11.4.2Web site released

11.5 Pass Kit Programming

11.5.1 instance: MyPass instance design and description

11.5.2 preparations

11.5.3 access Passbook

11.5.4 add and replace Pass

11.5.5 delete Pass

Summary of this Chapter

Practice

Chapter 2 restructuring MyNotes applications-design mode and Architecture Design in iOS Network Communication

12.1 layered architecture design of mobile network communication applications

12.2 delegation-based implementation

12.2.1 network communication and delegation Mode

12.2.2 Layered Architecture Design of delegated mode in Asynchronous Network Communication

12.2.3 class diagram

12.2.4 Sequence Chart

12.2.5 Data Persistence Layer Code Implementation

12.2.6 business logic layer code implementation

12.2.7 presentation layer code implementation

12.3 implement the observer-based notification mechanism

12.3.1 Review of the notification mechanism in observer Mode

12.3.2 Layered Architecture Design of notification mechanism in Asynchronous Network Communication

12.3.3 class diagram

12.3.4 Sequence Chart

12.3.5 Data Persistence Layer Code Implementation

12.3.6 business logic layer code implementation

12.3.7 presentation layer code implementation

Summary of this Chapter

Chapter 2 iOS agile development project practice-price line hotel reservation iPhone client development

13.1 Application Analysis and Design

13.1.1 application Overview

13.1.2 Requirement Analysis

13.1.3 prototype design

13.1.4 Architecture Design

13.2iOS agile development

13.2.1 Agile Development Declaration

13.2.2iOS can be developed in agile mode

13.2.3iOS General agile development process

13.3 Task 1: Create an application's basic Workspace

13.3.1 iteration 1.1 create a business logic layer Project

13.3.2 iteration 1.2 create a presentation layer Project

13.4 Task 2: business logic layer development

13.4.1 iteration 2.1 compile the business logic layer class for searching hotels

13.4.2 iteration 2.2 compile the room query business logic class

13.5 Task 3: Presentation Layer Development

13.5.1 iteration 3.1 Preliminary Design of the story board based on the prototype design

13.5.2 iterative 3.2 search for the hotel Module

13.5.3 iteration 3.2.1 select the City View Controller

13.5.4 iteration 3.2.2 select the keyword View Controller

13.5.5 iteration 3.2.3 Select Price and Date Picker

13.5.6 iteration 3.2.4 hotel search View Controller

13.5.7 iteration 3.2.5 hotel search List View Controller

13.5.8 iteration 3.3 room query module

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.