Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Insider News
  4. How different is Obj-C from C++?

How different is Obj-C from C++?

Scheduled Pinned Locked Moved The Insider News
c++swiftcomtoolsquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Terrence Dorsey
    wrote on last edited by
    #1

    How different is Obj-C from C++? (source: The Ideal Lab)
    Here are the major differences between C++ and Objective-C.

    "Wondering how much you'd have to relearn when moving from C++ to Objective-C? Here are 18 key differences you'll have to understand."

    S 1 Reply Last reply
    0
    • T Terrence Dorsey

      How different is Obj-C from C++? (source: The Ideal Lab)
      Here are the major differences between C++ and Objective-C.

      "Wondering how much you'd have to relearn when moving from C++ to Objective-C? Here are 18 key differences you'll have to understand."

      S Offline
      S Offline
      Sharjith
      wrote on last edited by
      #2

      What is the chance of anyone having to move from C++ to Obj-C unless they are moving onto iOS specific development? Considering the fact that generic applications written in C++ can be ported to Mac.

      Regards:) N. Sharjith

      E T 2 Replies Last reply
      0
      • S Sharjith

        What is the chance of anyone having to move from C++ to Obj-C unless they are moving onto iOS specific development? Considering the fact that generic applications written in C++ can be ported to Mac.

        Regards:) N. Sharjith

        E Offline
        E Offline
        ed welch
        wrote on last edited by
        #3

        If you want to access OSX/iOS APIs then you have to use obj-c

        1 Reply Last reply
        0
        • S Sharjith

          What is the chance of anyone having to move from C++ to Obj-C unless they are moving onto iOS specific development? Considering the fact that generic applications written in C++ can be ported to Mac.

          Regards:) N. Sharjith

          T Offline
          T Offline
          Terrence Dorsey
          wrote on last edited by
          #4

          You'll need Objective-C for both Cocoa (Mac) and Cocoa Touch (iOS). Though you are right that C++ code can be compiled to run on Mac in many instances. But for native Mac/iOS programming most of it is done in Obj-C these days. See also Xcode, GCC, and Homebrew[^] for some new ways to code without relying so heavily on Xcode.

          Director of Content Development, The Code Project

          S 1 Reply Last reply
          0
          • T Terrence Dorsey

            You'll need Objective-C for both Cocoa (Mac) and Cocoa Touch (iOS). Though you are right that C++ code can be compiled to run on Mac in many instances. But for native Mac/iOS programming most of it is done in Obj-C these days. See also Xcode, GCC, and Homebrew[^] for some new ways to code without relying so heavily on Xcode.

            Director of Content Development, The Code Project

            S Offline
            S Offline
            Sharjith
            wrote on last edited by
            #5

            Thanks for the clarification!

            Regards:) N. Sharjith

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups