Top "Nsstring" questions

NSString is the plain-text character-string class in Cocoa and Cocoa Touch.

AES Encryption for an NSString on the iPhone

Can anybody point me in the right direction to be able to encrypt a string, returning another string with the …

iphone objective-c encryption nsstring aes
Remove characters from NSString?

NSString *myString = @"A B C D E F G"; I want to remove the spaces, so the new string would …

objective-c nsstring
Split an NSString to access one particular piece

I have a string like this: @"10/04/2011" and I want to save only the "10" in another string. How can I do …

objective-c swift string nsstring
How to get substring of NSString?

If I want to get a value from the NSString @"value:hello World:value", what should I use? The return …

objective-c cocoa-touch nsstring
Converting NSString to NSDictionary / JSON

I have the following data saved as an NSString : { Key = ID; Value = { Content = 268; Type = Text; }; }, { Key = ContractTemplateId; Value = { Content = 65; Type = …

objective-c xcode json nsstring nsdictionary
How to add percent sign to NSString

I want to have a percentage sign in my string after a digit. Something like this: 75%. How can I have …

objective-c nsstring string-literals
NSString with \n or line break

Does anyone know how to use line breaks in NSString? I need to do something like this - [NSString stringWithFormat:@"%@,\…

objective-c nsstring newline
convert NSDictionary to NSString

I am trying to put the content of an NSDictionary into an NSString for testing, But have no idea how …

iphone ios nsstring nsdictionary
String comparison in Objective-C

I've currently got a webserver set up which I communicate over SOAP with my iPhone app. I am returning a …

objective-c nsstring
NSRange to Range<String.Index>

How can I convert NSRange to Range<String.Index> in Swift? I want to use the following UITextFieldDelegate …

nsstring swift ios8 nsrange