Initial analysis of iPhone Development

Source: Internet
Author: User

Initial analysis of iPhone Development

To develop applications for the iPhone, you need the Apple iPhone SDK, which is free of charge.
Apple provides SDK 3.0 final official download: http://developer.apple.com/iphone/index.action#downloads

The iPhone development environment consists of several components:
1) xcode
Xcode is an important tool for iPhone development. Provides a project development and management environment, includingCodeEdit, document, and graphical debugger.
Xcode uses multiple open-source GNU tools, such as GCC and GDB.

2) Instruments
It Samples memory usage and monitors performance.
Instruments uses the open-source dtrace package (developed by Sun ).

3) dashcode
The dashcode tool is used to create independent web-based applications, that is, Widgets for dashboard. These applications run outside the traditional browser environment.
Dashboard provides the runtime environment for widgets developed by dashcode. The interface is mainly a translucent layer, which is hidden away from start time. You can start it by pressing the hot key, and the hot key can be changed in the preference settings.
When the dashboard is started, the user's desktop is dimmed, while widgets is gradually displayed in the foreground. Like an application window, widgets can be moved, reconfigured, disabled, and re-enabled (So multiple identical widgets can be enabled simultaneously, and make different settings for each one ). You can use the menu column to open a new widget. You only need to click or drag the widget icon to the screen. Wait until the widget is loaded to use immediately.

4) Simulator
The iPhone simulator runs on the Macintosh system and is used to create and test applications on the desktop.Program.

5) interface Builder
IB provides a rapid prototype development tool for graphical layout of user interfaces.

In general, the iPhone SDK component set enables you to develop traditional and web-based applications.
From the perspective of local application developers, the most important components are xcode, simulator, and the optimization tools provided by instruments.

The iPhone SDK also has an important part, the cocoa touch library, which is provided for fast iPhone application development and comes with a large number of framework libraries, which can be used to build graphical event-driven applications.

The iPhone xcode project contains various standard components and custom components. Project Content generally includesSource code, Connection framework, and media files (images and audio files ). Xcode compiles the source code and connects it to the framework to build application Bindings for iPhone installation. It adds media to the application package so that the application can access the media as an application when running on the iPhone.

IPhone code is usually written in Objective C 2.0. It is object-oriented and is a superset of ansi c and developed in combination with smalltalk and C.

Conclusion:
There are two development architectures for iPhone applications:
1) use JavaScript + CSS + SDK dashcode to develop a widget Application
2) Use object C + iPhone SDK to develop general applications (including web and desktop)
Note: The applications developed above are all running outside of the Safari browser.
Development trend: dashcode was used only for widgets before, but the new version of dashcode also supports iPhone web applications and is very convenient. In the dashcode template, many JavaScript libraries are also included for making iPhone interface special effects.

 

I just got started with iPhone development. please correct me.

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.