Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Hello guys, Today we learn about Changing Text Attribute Strings From The Attribute Inspector In Swift.
Attribute strings are a set of character strings that have an individual character or range of characters. for more details please Click Here.
step1:- Firstly, create a new Xcode project.
File-> New-> Project-> Choose Ios-> choose App-> next and Add your project name then create.
Step2:- Then, create the design of the label on the storyboard
2. Then, select the label and go to the Attribute inspector section
And select label text Plain to Attribute
3. Now you can change your text accordingly.
For example:- If you want to change the color of the first word then you can just select the word and change the color or you can change the color of a character as well, Please see attached video
And, if you want to change the text in bold, underline, the italic format you need to just select the text and change the text into bold, underline e.t.c
Here are the two methods, just simply click on the T button, here you have a font box
2. second, you just simply select the particular text and right-click and change the font to bold, underline, italic
Now, run your project and see the result-
In this blog, we discussed Changing text attribute strings from the storyboard attribute inspector in Swift
I hope this blog will help you to understand the attribute functionality of the storyboard.
Thanks for reading!!!
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
It was a successful collaboration. The Mobikul team provided the client everything they needed in a timely and high-quality manner. They were very professional, reliable, and accessible during the entire process. The client also saw no room for any improvements in the vendor's performance.
Vincenzo Carrano
Administrator, Segshop
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.