Top "Nsmutablestring" questions

The NSMutableString class declares the programmatic interface to an object that manages a mutable string — that is, a string whose contents can be edited — that conceptually represents an array of Unicode characters.

Add several attributes to a NSMutableAttributedString

I'm trying to add several attributes to a NSMutableAttributedString; i tried this: let stringNumero: NSString = "\(squadra.cori.count)" //= two-digit number …

swift label uifont nsmutablestring
Adding multiple strings to a string

How do I add multiple strings to a string ? Whats the easiest way to do that ? If I don't want …

xcode uitableview nsstring mfmailcomposeviewcontroller nsmutablestring
NSMutableString replaceOccurrencesOfString replacing whole words

Is there a way to use replaceOccurrencesOfString (from NSMutableString) to replace whole words? For example, if I want to replace …

ios objective-c nsmutablestring
Appending Strings to NSMutableString

Been looking at this for a bit now and not understanding why this simple bit of code is throwing an …

objective-c nsmutablestring
Clearing rather than releasing a NSMutableString

I've got a rather large loop that gets a string, does something to it, than goes onto the next one. …

iphone nsmutablestring
How to initialize NSString to NSMutableString?

Is there any way to initialize NSString to NSMutableString? and also reverse order? -(void)st:(NSString *)st { NSMutableString str = …

objective-c iphone casting nsmutablestring
String is not convertible to NSMutableString

It works fine to cast a Swift String as an NSString. let string = "some text" let nsString = string as NSString …

ios string swift nsmutablestring
How to use appendFormat to format a string in Swift?

I want to append a string to a NSMutableString using appendFormat, inserting white spaces to get a minimum length for …

ios xcode swift nsmutablestring