Top "Nsstring" questions

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

Getting Optional("") when trying to get value from KeyChain

When I try to get my keyChain value, it return a string containing: Optional("[thing in the KeyChain]") so, I …

swift nsstring keychain optional
String to float in objective c

I have a parser returning some string value I'd like to use as parameter for my class instance initialisation. I …

objective-c nsstring floating-point nsnumber
NSString: newline escape in plist

I'm writing a property list to be in the resources bundle of my application. An NSString object in the plist …

iphone nsstring plist
Get the NSString height in iOS 7

I am using the below code to calculate the height of a label from string length. Im using xcode 5.0 and …

iphone ipad nsstring cgsize
Replace all NSNull objects in an NSDictionary

I'm curious, I currently have an NSDictionary where some values are set to an NSNull object thanks to the help …

objective-c nsstring nsdictionary json-framework nsnull
Url minus query string in Objective-C

What's the best way to get an url minus its query string in Objective-C? An example: Input: http://www.example.…

objective-c url nsstring nsurl
NSString to NSUInteger

I've got a number in a NSString @"15". I want to convert this to NSUInteger, but I don't know how to …

cocoa-touch iphone-sdk-3.0 nsstring nsuinteger
copy one NSString to another

How to copy one NSString to another? @interface MyData : NSObject { @private //user's private info NSInteger uID; NSString *name; NSString *surname; …

iphone nsstring copy copywithzone
Using NSRegularExpression to extract URLs on the iPhone

I'm using the following code on my iPhone app, taken from here to extract all URLs from striped .html code. …

objective-c regex nsstring nsarray nsregularexpression