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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -