Apple's objective-c compiler approves users to freely mix and use C + + and objective-cin a unified source file, and the mixed language is called objective-c++. With it, you will be able to leverage the existing C + + class libraries in the
1. OC Introduction
Objectuve-C is short for OC, where objective refers to object-oriented, that is, object-oriented C.
Based on the C language, a minimum object-oriented method is added (the essence of object-oriented syntax is retained)
Fully
I. INTRODUCTION of OC 1. IntroductionIt is based on the C language and adds a layer of object-oriented syntaxOC fully compatible with C languageYou can mix C code, even C + + code, in OC codeApplications that can use OC to develop Mac OS x platform
Is it good to use JavaScript to create mac OS x programs? javascriptosArticles you can see on the Internet:Write OS X applications in JavaScript (Taylor Gaw)The content of this article is good.But what about the idea?If we want to learn a method or
Knowledge points1. #import的用途:1>, like # include, copies the contents of a file2> can automatically prevent the contents of a file from being copied repeatedly2. #import Declaration of nslog function in NSObjCRuntime.hPath to 3.Foundation frame
"IOS development" "OC" 00, ios "oc 」
1. OC Introduction
On the basis of the C language, a minimum object-oriented syntax is added. It is fully compatible with C language. It can be mixed into C language code or even C ++ code in OC code; you can
Get OS X's system version under Mac, using OC Cocoa1:# Import SInt32 Major, minor, bugfix; Gestalt (Gestaltsystemversionmajor, &Major); Gestalt (Gestaltsystemversionminor, &minor); Gestalt (Gestaltsystemversionbugfix, &*systemversion = [NSString
1. OC Introduction
Based on the C language, a minimum object-oriented syntax is added.
Fully compatible with C language
The C language code or even c ++ code can be incorporated into the OC code.
You can use OC to develop Mac OS X and iOS
Preface
As IT professionals, especially Help Desk, we often need to support Apple systems, such as how the Apple system configures the company's Exchange mailbox and how to use OC/Lync; sometimes I want to know something about this system out of
The theory is boring, so it's a little long. Ha haha ~To learn a language, we must first understand it, then"What is OC"Objectiv-c, abbreviated to OC, is an object-oriented language written on the basis of C language. fully compatible with C
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.