iphone - The Objective-C++ language: where can I find more information about it? -


I am learning C ++ for a few months and it gets excellent language with my allowances.

I was thinking that in fact the so called Objective-C ++ and if it was a major development language to target the Apple environment (i.e. Mac OS X, iPhone OS) As is worth learning. Looking around the web, I find only good articles: mainly from one and the other.

Wikipedia says:

Objective - The end of C ++ GNU compiler is the collection which can compile source files that are C ++ and Objective- C uses a combination of syntax. Objective-C ++ extension adds to C ++ Addition to Objective-C.

In the Mac Dev Center article it says:

Objective of the apple, the C-compiler allows you to freely enter the same source file in C ++ And purpose-to mix the code. This purpose-C / C ++ language hybrid is called Objective-C ++, with it you can use the existing C ++ library from your purpose-oriented applications.

The purpose of the Apple article- C ++ is a language, is it right?

I would like to know the following:

  • Is it possible to learn and use purpose-C ++ without knowing the C / Object C? >
  • Are there any good books, sites, forums, etc. where someone can get more information and / or assistance?
  • Is there any big projects in Objective-C ++ as far as you know?
  • Yes, you should learn Objective-C ++ when you develop competitive communicative power Want (aka so good that people are ready to pay for them) Apple applications

    This is actually nothing in C and C ++ combined in the same file.

    Objective - Any disturbances from the popular Apple Development Blog / Mailing Lists / News Groups for use, especially one provided directly by Apple.

    This is the same for C ++, there are dozens of blog / mailing lists / starter tutorials but C and its purpose-add-ons are very simple and easy if you already understand programming. C ++ is a different and complex animal. Find some good books and know it (after 10 years you can fully understand the language :-) But you can write C ++ programs with only a fraction of this knowledge.

    Now the magic question is now why should we use C ++ when you can participate with objective-C. The answer is very simple. In addition to the explicit rapping of the current C ++ libraries, the objective is slow, first of all - method call - the general purpose is to do some serious work in your methods to avoid the time period of this time, which is shown in this language is.

    But especially for containers, you should consider using C ++ templates. If a vector is very fast then an NSArray, if your dataset is large, you will feel the difference. Apart from this I find it easy to use the C + container because they avoid the types of numbers with the objective-C.

    It is not prematurely optimized on the iPad and iPhone with a slow ARM CPU.

    Unfortunately you can not mix C ++ and cocoa sections and therefore C ++ should only be used for algorithm data. For GUI, you have to use cocoa and objective-class classes.

    By getting the right balance between C ++ and Objective-C, you are a part of the skills required to develop into Apple programmers.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -