hi all,
I have problem that when i click on the button then i got exceptions like
Loading program into debugger
GNU gdb 6.3.50-20050815 (Apple version gdb-960) (Sun May 18 18:38:33 UTC 2008)
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".warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
Program loaded.
sharedlibrary apply-load-rules all
here is the code for the method that call on the click of button
-(IBAction) startTimer{
time=0.0;
finalDemoAppDelegate *appDeleg = (finalDemoAppDelegate *)[[UIApplication sharedApplication] delegate];
appDeleg.timer=[NSTimer scheduledTimerWithTimeInterval: 0.2
target: self
selector: @selector(incrementCounter
userInfo: nil
repeats: YES];
}
-(void)incrementCounter{
time=time+1;
[self updateLabel];
}
-(void)updateLabel{
lblTimer.text=[NSString stringWithFormat"%i",time];
}
I am not getting whts going to be wrong there.
Please help me resolve this exception.
Any help will be appreciable..
Awaiting for your reply..
Thanks in ADVANCE..
I have problem that when i click on the button then i got exceptions like
Loading program into debugger
GNU gdb 6.3.50-20050815 (Apple version gdb-960) (Sun May 18 18:38:33 UTC 2008)
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".warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
Program loaded.
sharedlibrary apply-load-rules all
here is the code for the method that call on the click of button
-(IBAction) startTimer{
time=0.0;
finalDemoAppDelegate *appDeleg = (finalDemoAppDelegate *)[[UIApplication sharedApplication] delegate];
appDeleg.timer=[NSTimer scheduledTimerWithTimeInterval: 0.2
target: self
selector: @selector(incrementCounter
userInfo: nil
repeats: YES];
}
-(void)incrementCounter{
time=time+1;
[self updateLabel];
}
-(void)updateLabel{
lblTimer.text=[NSString stringWithFormat"%i",time];
}
I am not getting whts going to be wrong there.
Please help me resolve this exception.
Any help will be appreciable..
Awaiting for your reply..
Thanks in ADVANCE..