Property funktioniert nicht

  • Property funktioniert nicht

    Ich habe ein Problem, was mich gerade tierisch verrückt macht :-/
    In fzg_anzahl steht 1200 drin!
    Wieso übergibt der die nicht?

    Quellcode

    1. -(IBAction)suchen
    2. {
    3. Fahrzeugsuche_Liste *view = [[Fahrzeugsuche_Liste alloc] initWithNibName:@"Fahrzeugsuche_Liste" bundle:nil];
    4. view.anz_gef_fzg = fzg_anzahl;
    5. [self.navigationController pushViewController:view animated:YES];
    6. }


    Quellcode

    1. @interface Fahrzeugsuche_Liste : UIViewController
    2. {
    3. //Anzahl der gefundenen Fahrzeuge
    4. int anz_gef_fzg;
    5. }
    6. @property(nonatomic) int anz_gef_fzg;
    7. @end


    Quellcode

    1. @implementation Fahrzeugsuche_Liste
    2. @synthesize anz_gef_fzg;


    Eignetlich mach ich alles wie immer :(
    Woran könnte das liegen?