uiviewcontroller - Pass NSNumber Value from ViewController to UIView -
from uiviewcontroller
, have nsnumber
value "discountpercentage". wanna send value uiview
. code is,
ssidpview *idp = [[ssidpview alloc] init]; idpview.discountpercentageis = discountpercentage;
i have "discountpercentageis" nsnumber
in "ssidpview.h" ,
@property(atomic,retain)nsnumber *discountpercentageis;
and synthesized also. when try value in idpview
nslog(@"its coming in idp:%@",self.discountpercentageis);
its null. know simple , can me figure out did miss?. tried many solutions no use .
thanks in advance geeks :)
Comments
Post a Comment