How does alloc work in Objective C?

后端 未结 2 1062
迷失自我
迷失自我 2021-02-08 12:06

I know that alloc is a class method which creates object of the class and points its \"isa\" pointer to the class and thats how messages are mapped at runtime.

and I hav

2条回答
  •  半阙折子戏
    2021-02-08 12:41

    Just to add to the discussion, I received a very nice link on one of my other similar question on Objective-C internals.

    http://algorithm.com.au/downloads/talks/objective-c-internals/objective-c-internals.pdf

    I hope this will be of help to many who arrive here :)

提交回复
热议问题