uitableview - Change UITableViewCell Font in iOS 8 and swift -
i'm trying change font uitableviewcells,
i'm trying use @ moment not success:
cell.textlabel.font = [uifont .preferredfontfortextstyle("avenir")];
now i've read lot on , seems should use instead :
cell.textlabel.font = [uifont fontwithname: "avenir" size:22];
problem fontwithname not seem exist in ios 8
any ideas??
thanks
the thing not swift (it kind of horrifying bastardization of objective-c):
cell.textlabel.font = [uifont fontwithname: "avenir" size:22];
this swift:
cell.textlabel.font = uifont(name:"avenir", size:22)
Comments
Post a Comment