Mastering Development

NSString how operator overloading is done [duplicate]

NSString *str = @"Hello World";

If operator overloading is not a thing in Objective-c how is this possible ? Is it built into a compiler ?

And one more question, how does it initialize it self ? what constructor is called ? does it allocate memory for a class it self or again some compiler magic ?

Leave a Reply

Your email address will not be published. Required fields are marked *