I was reading this question/answers, which basically showed an interesting behaviour in Java and strings, and two questions came up in my mind:
- Are Objective-C/Swift Strings behave the same? I mean if I have for example two variables which stores the same literal"someString", internally, will they refer to one"someString"object? I didn't find anything about it in the documentation.
- If the answer to my previous question is yes, then is it possible to change same string literals the way like in Java?
 
     
    