I read a lot of articles and documentation, but still can not completely understand where different data types are stored in memory.
Can you explaing me where in memory mutable String or any another mutable type e.g. var string: String
is stored.
And where immutable String or any another immutable type e.g. let string: String
is stored?
Can you answer please for both Swift and Objective-C?