In Iphone Programming Bad_Excess Does not throw any Exception
In my case :
Problem:-
NSString *str;
if( [ str isEqualToString @"NE" ] )<= this will generate bad excess beacuse
{
}
Sol n:-
NSString *str=@" "; <= sol n NSString Can not be null while we compare it
if( [ str isEqualToString @"NE" ] )
{
}
we can get details of Bad_Excess by using NSZombie Enable
Advertisement