After a long time, I almost forgot about objective-C. there is no systematic learning and coding. I used to read books, but now I have no machine learning. I need to pick it up again...
I. Development Environment
If you use xcode, you can download it from the App Store. However, the download speed is too slow. You have downloaded and installed the command line tool on your own. I do not know whether the command line tool is
Gnustep
First, there is no objective-c ide in windows. objectiveeclipse is an optional plug-in that works with eclipse3.5 + cdt6.0, but the update has stopped. Gnustep is an API and tool similar to cocoa (Apple OS Development Framework). It
1 interface (interface conventions)
Interfaces are interpreted as interfaces. What is different from interfaces in Java \ C # Is that interfaces in obj-C should be considered as informal protocols, the interface in obj-C only indicates that the
The automatic reference counting (ARC) is IOS 4.0 or later. You can choose to enable the memory management function when creating a project in xcode 4.2 or later. It seems to be a selectable function, but it has a great impact on programming after
Protocols in objective-C are similar to common interfaces and are implemented in classes as defined in protocols.@ Protocol myfirstprotocol-(Void) myfirstprotocolmethod;@ EndIn iPhone OS, protocols are usually used to implement the delegate object ).
Document directory
Dynamic Method Analysis
@ Dynamic refers to the Code provided by developers: setter is required for read-only attributes, and setter and getter are required for read/write attributes.@ Synthesize indicates that, unless the
Document directory
Dynamic types (iskindofclass, ismemberofclass, ID) of objective-C syntax
Dynamic types (iskindofclass, ismemberofclass, ID) of objective-C syntax
The ability of an object to obtain its type at runtime is called introspection.
The Foundation framework allows you to use the file system to perform basic operations on files or directories. These basic operations are provided by the NSFileManager class,
Methods of this class have the following functions:
Create a new file
The following is a little bit of knowledge I learned during my learning process. Although it is superficial, I want to share it with you! I hope to give more advice.
First look at the code structureTestMain. mSceneManager. hSceneManager.
The id type has been predefined as the pointer type.
Accessors
Certificate -----------------------------------------------------------------------------------------------------------------------------------
In Objective-C, all instance variables
Address: http://www.mulle-kybernetik.com/weblog/2011/10/how_to_build_libobjc_for_ OS _x.html
Max OS X: 10.6.8
Version to be compiled and run: 437.3
I just tried it myself and can compile it.
In addition, the header file contains an absolute path. If
In Windows, there are two main types of hooks: Message hooks and function hooks. Sometimes you must use hooks when implementing some functions.
The function hook is mainly used to replace the entry address. In a broad sense, many things are hooks,
Java has a Map, which can store data in the form of key-value pairs. When the value is set, the corresponding value can be directly obtained through the key, which is convenient and quick. In Objective-C language, dictionaries do this. Like NSArray,
1. Introduction:
Property is a keyword of Objective-C. It is used in conjunction with @ synthesize to enable the compiler to automatically generate a method declaration with the same name as the data member. @ Synthesize is used to generate the
1. Objective-C Memory Management Overview:
Objective-C needs to consider memory management by itself. This is a great challenge for new programmers who have switched from Java, C # and other languages to the Objective-C platform. Fortunately, if you
Document directory
NSNumber
NSArray
NSDictionary
Apple made significant improvements to Objective-C and LLVM compilers at WWDC 2012 this year. The new features added by Objective-C are as follows:1. Method order independence
The Objective-C
Note: This Objective-C topic is a prelude to iOS development. It also helps programmers with experience in object-oriented language development to quickly get started with Objective-C. If you have no programming experience or are not interested in
Show Excel I will not introduce, most people know that you can use the UIWebView control, so directly go to the code
//// ViewController. m // PRJ_excelDemo /// Created by wangzhipeng on 13-4-12. // Copyright (c) 2013 com. comsoft. all rights
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