以下のコーディングは機能しており、2 番目の画面で値を確認できます。しかし、この形式の異なる変数を持つ他のクラスでも同じものを使用しています。しかし、クラス名をドットで入力した後、変数が表示されません。私はこれを理解することはできません。値を他のクラスに渡す方法はありますか。
InstallProfiler_2 *installProfiler2 = [[InstallProfiler_2 alloc] initWithNibName:@"InstallProfiler_2" bundle:nil];
installProfiler2.profilerType2 = profilerType;
[self.navigationController pushViewController:installProfiler2 animated:NO];
[installProfiler2 release];