How can we access the variables declared in another class without using extern ?
        Posted  
        
            by srikanth rongali
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by srikanth rongali
        
        
        
        Published on 2010-05-14T04:13:01Z
        Indexed on 
            2010/05/14
            4:24 UTC
        
        
        Read the original article
        Hit count: 275
        
Can we access the integer type variables in classB which are declared in classA by not using extern?
For objects I used ClassA *obj1 = [[ClassA alloc]init]; And accessed the objects of classA into class B.
But, I am not able to do them with the int , float, NSTimeInterval. How can we do for them without using extern ?
Thank You.
© Stack Overflow or respective owner