I have a custom, editable UITextView and I modified the paragraph spacing like so: This causes the cursor being very big. I've tried to fix that by ...
I have a custom, editable UITextView and I modified the paragraph spacing like so: This causes the cursor being very big. I've tried to fix that by ...
I am trying to create a multiline separate text in another text to achieve the below text style. I have tried the below code to produce the goal bu ...
[ I'm looking to make a pixelPerfect UI. My designer gave me a few requirements for a specific font. I'm trying to implement them but I've run into s ...
My English is terrible, and I don't know how to describe it. Please look at the picture I uploaded first. This is a screenshot from Ulysses. This ...
I use UILabel's attributedText to load a HTML string, for example: And I use NSParagraphStyle to change the line-height of all elements of this HTM ...
I want to increase the Line Spacing in UILabel but I can't figure it out how. I found this solution [https://stackoverflow.com/a/39158698/8633963] on ...
I'm trying to understand how to properly display text with condensed line spacing in a text field. When I set paragraph style properties lineHeightMul ...
I'm having problems with UILabels that use NSAttributedStrings with NSParagraphStyle when I use UISemanticContentAttributeForceRightToLeft. I have a ...
I have an image that I want to center alongside a bunch of text but even when I set the NSMutableParagraphStyle alignment to center, the line with the ...
Is there any way to get the NSParagraphStyle of an UILabel instead of creating a new instance and settings every attribute? ...
I have a UIButton which is really just 2 words, wrapped to 2 lines (I set the lines value to "2" in code later). I have been tightening up the default ...
I've UILabel with paragraphic information (multiline text) and I want add some spaces between lines, similar to this image. Please help me to do it ...
I'm trying to have a UIlabel with an image and title on the left and a list of descriptions with bullets on the right, to do that I'm using NSAttribut ...
The paragraphSpacingBefore property of NSParagraphStyle does not seem to do anything. I'm pretty sure it worked in a previous project, but I don't see ...
I want NSTextView object to react to Tab key hit by changing NSParagraphStyle spacing. And it does but EXTREMELY slow!!! In fact if I do this changes ...
I wish to draw a customizable line inside a UITextView consisting of some text (using NSAttributedString) Here's what I tried But no matter what v ...
https://developer.apple.com/library/ios/documentation/Cocoa/Reference/ApplicationKit/Classes/NSMutableParagraphStyle_Class/#//apple_ref/occ/instp/NSMu ...
I'm trying to get an actual point of selected character in NSTextContainer: And it works works as it should, UNTIL first linebreak set by Every ...
I'm trying to specify the number of lines for NSTextView. My designer is requesting 2 lines of text max. I've tried NSMutableParagraph style to add th ...
I am trying to create a custom UILabel class which will allow me to increase the line spacing on a UILabel. I know you can do this in IB with an attri ...