Skip to content

Randy Dillon iOS Developer

General Development and iPhone/iPad Developer

Remove Attributes from NSMutableAttributedString Conditionally

Posted byRandy March 5, 2015March 5, 2015

Remove all of the attributes using setAttributes.

Or try doing this conditionally and enumerating the attributes to remove them one-by-one:

Posted byRandyMarch 5, 2015March 5, 2015Posted inUncategorized

Post navigation

Previous Post Previous post:
Rechecking camera access in iOS 8 after initial request is denied
Next Post Next post:
Check for A7 / iOS 8 before using Metal

Recent Posts

  • Android – As a non-phone micro tablet
  • Custom Chorded project with instructions
  • Gesture based input
  • Stable Diffusion on a Mac M1 GPU with as little as 8gb of RAM
  • Short list of adblockers (2022)

Recent Comments

    Archives

    • July 2024
    • December 2022
    • November 2022
    • January 2022
    • June 2021
    • May 2021
    • January 2021
    • June 2020
    • May 2019
    • December 2018
    • September 2018
    • July 2017
    • May 2017
    • April 2017
    • March 2016
    • February 2016
    • December 2015
    • November 2015
    • September 2015
    • July 2015
    • June 2015
    • May 2015
    • March 2015
    • February 2015
    • December 2014
    • September 2014
    • August 2014

    Categories

    • Computer Interface
    • Input
    • Minimal
    • Swift
    • tvOS
    • Uncategorized
    • Web search
    • WWDC
    • XCode

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Randy Dillon iOS Developer, Proudly powered by WordPress. About Me and Contact