ArcGIS runtime for iOS Summary (III)

Source: Internet
Author: User
Development and deployment process

Like other mobile products, the development and deployment process includes the following steps: Download the SDK, build the development environment, submit the App Store for review, and download and deploy the client. Due to Apple's closed system, individual developers need to register as iPhone
Developer, it takes at least $99 and a few days for verification to wait for developers to develop and download programs for debugging on the real machine.

 

1.1.1
Download

Download and install ArcGIS runtime SDK for iOS v10.2. Check whether the SDK file is successfully installed. The default installation path is $ {home}/library/sdks/ArcGIS/, which includes
ArcGIS Framework library and a mapviewdemo
Sample project. The Framework library directory contains the library files, resource packages, and language packs.

1.1.2
Development Environment Construction

1)
MAC of Inter CPU, operating system OSX 10.6 or above

2)
Add IOS Developer Program

3)
Standard Edition: appstore Distribution

4)
Enterprise Edition: direct internal distribution

5)
IOS sdks 6.0 and xcode 4.6.x

6)
The SDK has built-in virtual machines, but the real machine test is better.

7)
Mac virtual machines are not recommended.

1.1.3
Distribution and deployment

For mobile GIS developed using ArcGIS runtime SDK for iOS
Application:

1)
First, you must comply with the ESRI license distribution agreement. for commercial purposes, you must have the ArcGIS for Server Enterprise Standard Edition or advanced edition license. For more information, see ESRI China.

2)
In addition, it must comply with Apple's licensing and distribution agreement, including two methods:


I. Register as a standard enterprise development account of Apple. The fee is about $99/year. In the test phase, you can register the device ID to be deployed under the enterprise account group.
The IPA installation file can be deployed on the device. To officially launch the product, you need to upload the IPA file to Apple's App Store. After the file is approved, it will be available for download by all users.


II. If your applications should not be made public or confidential, it is recommended that you register an Enterprise Development Account of Apple at a cost of about $299/year.
IPA installation files are distributed to Apple mobile devices registered within the enterprise.

2. Key points and difficulties

ArcGIS runtime for iOS development focuses not on the API itself, but on the entire iOS development framework, including objective-C language rules, memory management, and design patterns.

Objective-C language is based on SmallTalk-80, syntax rules and C ++ language is completely different, call method is called "Send message", not using ". ", but uses the" [] "operator. The method name signature can be divided into several parts.

Objective-C language, like C and C ++, requires the programmer's variable memory. Memory Management is the biggest headache for C programmers, the objective-C language also has this problem. When the memory is released early, there will be a null pointer reference, and when the memory is released late, there will be a memory leak and other problems. However, the new version of IOS
SDK 5.0 brings a new dawn to solve this problem.

IOS also focuses on several design patterns, including: MVC design patterns, delegated design patterns, observer design patterns, and Singleton design patterns. The MVC design mode is IOS.
The basis of the UI, and the delegated design pattern also plays an important role in calling between components.

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.