ios - SWTableViewCell left utility buttons, visible on first load in iPad -
on ipad if run app shows view loaded:
in patientappointmenttableviewcell
subclass of swtableviewcell
. in .m
file of class i've added method:
- (void)layoutsubviews { [super layoutsubviews]; cgrect frame = self.contentview.frame; frame.origin.x = [self leftutilitybuttonswidth]; self.frame = frame; self.cellscrollview.contentsize = cgsizemake(cgrectgetwidth(self.frame) + [self utilitybuttonspadding], cgrectgetheight(self.frame)); if (!self.cellscrollview.istracking && !self.cellscrollview.isdecelerating) { self.cellscrollview.contentoffset = [self contentoffsetforcellstate:_cellstate]; [self updatecellstate]; } }
to in every line i'm getting error
no visible @interface 'patientappointmenttableviewcell' declares selector leftutilitybuttonswidth
property cellscrollview not found on object of type patientappointmenttableviewcell
so doing wrong?
Comments
Post a Comment