toggle - How can use the default function " toggleBoldface(sender: AnyObject>)" and toggleItalics(<sender: AnyObject>) in swift -
i have 2 buttons bold , italic.and 3 lables.need normal bold , italic functionality.i done manually using uifont(name: "helvetica-oblique", size: 18).but makes hard me.
is there way using default funcions " toggleboldface(sender: anyobject>)" , "toggleitalics()".please give me demo.i read in apple document https://developer.apple.com/library/ios/documentation/uikit/reference/uiresponderstandardeditactions_protocol/#//apple_ref/occ/instm/nsobject/toggleitalics: dont know how proceed events.
Comments
Post a Comment