Convert NSArray to NSString in Objective-C
I am wondering how to convert an NSArray [@”Apple”, @”Pear “, 323, @”Orange”] to a string in Objective-C. 9 Answers 9
I am wondering how to convert an NSArray [@”Apple”, @”Pear “, 323, @”Orange”] to a string in Objective-C. 9 Answers 9
I have a URL string (NSString) with spaces and & characters. How do I url encode the entire string (including the & ampersand … Read more
How do you check if an NSString begins with a certain character (the character *). The * is an indicator for the type … Read more
How would I convert an NSString like “01/02/10” (meaning 1st February 2010) into an NSDate? And how could I turn the NSDate back … Read more
Can anyone point me to any resources about case insensitive comparison in Objective C? It doesn’t seem to have an equivalent method to … Read more
How do I convert, NSDate to NSString so that only the year in @”yyyy” format is output to the string? 19 Answers 19
How can I convert NSRange to Range<String.Index> in Swift? I want to use the following UITextFieldDelegate method: func textField(textField: UITextField!, shouldChangeCharactersInRange range: NSRange, … Read more
How to replace a character is a string in Objective-C? 6 Answers 6
I have an app where the user can choose an image either from the built-in app images or from the iphone photo library. … Read more
I have Constants NSString, that I want to call like: [newString isEqualToString:CONSTANT_STRING]; Any wrong code here? I got this warning: sending ‘const NSString … Read more