Reference Passing - Objective C

Discussion in 'C' started by hanleyhansen, Dec 6, 2011.

  1. hanleyhansen

    hanleyhansen New Member

    Joined:
    Jan 24, 2008
    Messages:
    336
    Likes Received:
    8
    Trophy Points:
    0
    Occupation:
    Drupal Developer/LAMP Developer
    Location:
    Clifton
    Home Page:
    http://www.hanseninfotech.com
    Can someone please explain reference passing specifically for Objective C? Explaining it in general would help too. Basically I have added a class in my program but this class needs to use the variables and write to the objects in main ViewController (it's for an iOS application). How can i share these variables and objects between the classes? What is the proper way of passing reference (i think that is the proper term for it).
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Objective C is not the same as either C or C++ so you'd probably better off asking in an iForum. Speaking personally, I have no idea, and no chance to get into iObj-C as it's a Mac-OS-only IDE, and I have no need for a Mac.
     
  3. sura

    sura Banned

    Joined:
    Aug 4, 2011
    Messages:
    47
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    India,Tamil Nadu.
    As xpi0t0s told Objective C is not the same as c or c++.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice