The code below compiles and runs, BUT according to all iPhone development books and Apple documentation it shouldnt! Can someone please explain to me how come immutable NSS
You aren't mutating the string, you are just reassigning the variable test to point to a different string. The original string hasn't been modified.