Top "Nsstring" questions

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

How to check if NSString is contains a numeric value?

I have a string that is being generate from a formula, however I only want to use the string as …

iphone ios nsstring numeric
React Native - NSNumber cannot be converted to NSString

Below is part of my react component. I have a props named daysUntil coming into this component which contains a …

ios reactjs nsstring react-native nsnumber
Objective-C creating a text file with a string

I'm trying to create a text file with the contents of a string to my desktop. I'm not sure if …

objective-c cocoa nsstring save
What is the difference between "copy" and "retain"?

What is the difference between copy and retain for NSString? - (void)setString:(NSString*)newString { string = [newString copy]; }

objective-c nsstring copy retain
How to find beginswith word in a string using NSPredicate?

I am searching for a solution on how to format NSPredicate to search correct word in a string of text. …

cocoa nsstring nspredicate
Storing and retrieving unsigned long long value to/from NSString

I have an unsigned long long value which I want to store into an NSString and retrieve from the string. …

objective-c nsstring nsnumber
How to insert new line \n from UILabel text which typed in IB?

I have id textInput and I insert new line(\n) OK with: [textInput insertText:@"\n"]; But when input Text from …

ios objective-c nsstring
How can I check that the NSString ends with the certain character(.jpg)?

I have a NSString object which is assigned this ("http://vspimages.vsp.virginia.gov/images/024937-02.jpg"). Can anybody tell …

cocoa nsstring
Converting HEX NSString To NSData

I'm trying to convert a Hex NSString to NSData (I'm using the below attached code). The following is the output: &…

iphone objective-c ios nsstring nsdata
NSString containsString crashes

I'm trying to filter an array according to one of it's string fields. Both nameLower and filterLower has NSString value …

ios nsstring