Brief Introduction to iPhone development tools

Source: Internet
Author: User

IPhone development toolsA brief introduction is the content to be introduced in this article.Cocoa,XcodeObject-c, Interface Builder, and FrameWork.

1. FrameWork

A collection of classes. It is usually a set of classes that may be used together. In other words, these classes are compiled together into reusable library of code ). Put all related resources and code libraries together with an extension. framework directory (for Mac OSX bundle concepts, refer to some apple documents ). the built-in framework can be found in/System/Library/Frameworks.

2,Cocoa

NeXTSTEP uses Unix as the Kernel Operating System) Many built-in libraries) and tools, allowing programmers to interact with the window manager in an elegant way. These libraries are called the Framework, in 1993, these frameworks and tools were modified and renamed to OpenStep. Later, they were renamed to Cocoa (you should know why the Cocoa classes have the NS prefix)

CocoaComposed of three frameworks

1) Foundation: all object-oriented languages have some standard structures: value, collection, String, dates, lists, thread, and so on. all of these are in the Foundation framework (we can compare the STL of C ++)

2) Appkit: all the classes related to the user interface are here. Windows, buttons, text field, event, drawing. It also has a name: ApplicationKit

3) Core Data: Core Data allows you to easily store your objects as files or load your objects from files.

3,XcodeAnd Interface Builder

All the tools used in Cocoa development are provided to you as part of the Mac OS x Developer Tool. You can get them from the Mac OS X installation disk for free. Although the Mac OS X Developer Tool will add many useful programs to your system. However, we will mainly use these two programs: Xcode and Interface Builder. In these ides, gcc is used as a compiler to compile code and gdb for debugging.

Xcode: Control all the resources, code, images, sounds, and so on used in the application. You only need to write code in Xcode to compile and run your program. Xcode can also call and control the debugger.

Interface Builder: a gui build tool that allows you to create a window layout and add each component to the window, interface Builder allows programmers to easily create various objects and edit their attributes. Most of these objects are user Interface elements, such as buttons and text input boxes, but they can also be custom objects.

4. Object-c

A development language, similar to c, c ++, and java.

Summary: AboutIPhone development toolsThe introduction is complete.Cocoa,XcodeObject-c, Interface Builder, and FrameWork usage. Finally, I hope this article will help you!

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.