I've got a file path /Users/alexandra/Downloads/folder%20with%20spaces/ and I want to remove the percent encoding and make it a file URL. Using the me ...
I've got a file path /Users/alexandra/Downloads/folder%20with%20spaces/ and I want to remove the percent encoding and make it a file URL. Using the me ...
What is the difference between String and NSString? ...
I am looking for a way to simply write a String onto this image.... and coming up very short. This does not worker me. ...
So I'm a little confused. I have an NSURL like this I want to remove the last path of this. I tried using URLByDeletingLastPathComponent method but ...
I have a requirement to display the numbers as clickable link from a string input(contains alphabets and numerals) and on tap of that number it should ...
Hi i have a problem when im parsing a Html to NSAtributtedString in a UILabel. The problem is in the strong text, the result is too bold (I guess when ...
How can you check if you string has an ellipsis in swift? I have noticed some odd behavior when using the swift string functions and learned that elli ...
I had a requirement, to use NSInvocation's (void)getArgument:(void *)argumentLocation atIndex:(NSInteger)idx; to get the argument. The a ...
NSString *s = [NSString stringWithCString:"Long dash symbol \xe2\x80\x94" encoding:(NSUTF8StringEncoding) ]; NSString *t = [NSString stringWithUTF8St ...
How can I use a string format like this with Flutter? ...
The decimal 614995508 (actual serial number)is converted to hexadecimal 24A81634. The above unit8 array is the representation on TLV(tag length val ...
I want to convert a string to a date, and then return a string again. I did this extension, but when I use it it doesn't work as it should. For examp ...
I am trying to use C++ functions in Swift. To do that I use Objective-C wrapper. I am not familiar with Objective-C and C++ so much. My Wrapper funct ...
I am working on trying to make an app that lets the colors of things like navigation bars to be changed server-side. In my app delegate I set up a def ...
I am new to objective c. Trying to find out the type of NSString in Objective C. I use the sizeof() method from C and lengthOfBytesUsingEncoding metho ...
I am trying to implement code that converts const char * to NSString. I would like to try multiple encodings in a specified order until I find one tha ...
How to get last code value of string How to pick out end value of code number from given strings. Here what I did: It works but I felt not an i ...
I'm trying to extract data out of a Dictionary<String, Any> in Swift. The dictionary returns the following when I run NSLog("\(terminalDict)"): ...
I understand that subclassing NSString is a bad thing, but I'd like to add methods to NSString in Swift so that I can sanitise the string, according t ...
I am getting data from different sources, the variable could be a number or a string of number. How do I make sure that "(number as? NSString)" or "(n ...