間NSStringのを渡します...私は別のクラスにNSStringのを渡したい場合はどう相続人一例他のこれは私が継承を理解し、良い説明を見つけるように見えるんが、私はそれはマスタークラスとそのサブクラスを間にある学んだからできない私はいつも</p> <p>についての混乱があったものですクラス
のサブクラスではないthatsの:
class1.hを
@interface class1 : UIViewController{
NSString *string
}
@property (nonatomic, retain) NSString *string
@end
今私は別のクラスへとその等しい
class2.h
#import "class1.h"
@interface class2 : UIViewController{
}
@end
class2.m
@implementation class2
//i want to use the NSString in here, how do i do that?
おかげで、 ヤコブ
すべての
パーフェクト!ありがとう男で
! – Jacob