Top "Nsstring" questions

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

Get current city and country from CLGeocoder?

I've been all over the internet trying to find out how to get the city and country from CLGeocoder. I …

ios ios6 nsstring clgeocoder currentlocation
Swift 3 error: [_SwiftValue pointSize] unrecognized selector sent to instance

I just migrated our project to swift 3 and see lots of crashes because of one issue: Terminating app due to …

ios swift string nsstring uifont
How to convert type double to string iPhone?

I am calculating the velocity of an iPhone, and I need to know how to convert the variable calculatedSpeed which …

iphone xcode nsstring double velocity
How to make an NSString path (file name) safe

I'm using very tricky fighting methods :) to make a string like Fi?le*/ Name safe for using as a file …

cocoa string nsstring filenames
Resulting lines of UILabel with UILineBreakModeWordWrap

I have a UILabel whose size is calculated with sizeWithFont: method. The line break mode is set to UILineBreakModeWordWrap (same …

iphone cocoa-touch iphone-sdk-3.0 nsstring uilabel
How to set a CGFloat to a UILabel's text property

I have a UILabel called optionsDisplayerBrushSizeLabel who's text property I want to set to a CGFloat: brushSizeVal. I understand that …

iphone text properties nsstring cgfloat
NSObject to NSString Objective-C

Can someone help me to convert an NSObject to NSString? I'm trying to do something like this - NSString *address = […

objective-c nsstring nsobject
Adding a drop shadow to NSString text in a drawRect: method without using UILabel

I'd like to add a drop shadow to text drawn using the iOS supplied NSString (UIStringDrawing) category method: - (CGSize)…

ios uiview nsstring drawrect dropshadow
NSString instance reports its class as NSCFString

My objective here is really simple -- I'm trying to set an NSString to some test data, then return the …

objective-c cocoa class nsstring class-cluster
Get the NSString height

I have an NSString, and I want to know its height to create an appropriate UILabel. Doing this NSString *string = @"…

ios iphone nsstring uilabel sizewithfont