ios - How to add a UIbutton in a TableViewCell? -
i tried adding uibutton
tableviewcell
, realized can't add outlet because cell repeating.
how can access uibutton
iboutlet
in .m
file?
just declare class extenson in tableviewcell.m file above @implementation scheduledatecell below
@interface tableviewcell () { } @end
then in xib can add button , right-click drag button .m file in assistant editor mode
Comments
Post a Comment