Post

Replies

Boosts

Views

Activity

Reply to Is there a way to get exact spacing of a text file to match the formatting in UI Text View?
The answer is "MONOSPACED". The first step was to try to understand exactly what the NSAttributedString model was. Then to add an attribute to the NSDictionary that is associated with the model. Placing Monospaced of some size and weight, it was able to get the Text Editor to match the alignment in Text View. I found this to be what I needed to do. [attributesDictionary setObject:[UIFont monospacedSystemFontOfSize:12 weight:20] forKey:NSFontAttributeName]; The documentation has a level of confusion in it such that I had to try for a week to understand how to manipulate the Attributes and apply them to "self.myTextView.attributedText". This story wasn't evident at first. Now I'm clear....Hopefully this helps someone
Topic: Programming Languages SubTopic: Swift Tags:
May ’22
Reply to XCode 13 is super slow when editing source code
still going on. Any feedback from anyone?
Replies
Boosts
Views
Activity
Jul ’22
Reply to Is there a way to get exact spacing of a text file to match the formatting in UI Text View?
The answer is "MONOSPACED". The first step was to try to understand exactly what the NSAttributedString model was. Then to add an attribute to the NSDictionary that is associated with the model. Placing Monospaced of some size and weight, it was able to get the Text Editor to match the alignment in Text View. I found this to be what I needed to do. [attributesDictionary setObject:[UIFont monospacedSystemFontOfSize:12 weight:20] forKey:NSFontAttributeName]; The documentation has a level of confusion in it such that I had to try for a week to understand how to manipulate the Attributes and apply them to "self.myTextView.attributedText". This story wasn't evident at first. Now I'm clear....Hopefully this helps someone
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to IOS Build disappeared on app store connect
did anyone respond to this? it's happening to me. I'm just trying to use Test Flight
Replies
Boosts
Views
Activity
May ’22