Hallo,
ich habe ein Problem mit der Abzählung eines Arrays.
MainController.h
Maincontroller.m
Wenn ich das Array in 'awakeFromNib' initialisiere, stürzt das Programm mit folgender Fehlermeldung ab.
Wenn ich das Array in der 'IBAction'-Methode initialisiere funktioniert der Code.
Kann mir jemand erklären warum das so ist ?
Gruß Michael
ich habe ein Problem mit der Abzählung eines Arrays.
MainController.h
Maincontroller.m
Wenn ich das Array in 'awakeFromNib' initialisiere, stürzt das Programm mit folgender Fehlermeldung ab.
[Session started at 2009-12-12 16:55:23 +0100.]
GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 2346.
(gdb)
Wenn ich das Array in der 'IBAction'-Methode initialisiere funktioniert der Code.
Kann mir jemand erklären warum das so ist ?
Gruß Michael