[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 20 Feb 2017 15:31:45 +0900
Hi. I am Korean iOS developer who have studied GNUStep.
This is not a bug just question. please give me a light...
when we initialize object in Objective-C, we usually write like this.
[NSObject alloc]. so I have a big question and tracked how to work 'alloc' in GNUStep
it finally call 'NSAllocateObject' method and I unstated how they work roughly
but I cannot understand how obj_layout which is store retain count (called Header in my book) is added in Class.
your code just write like this
new = (id)&((obj)new);
but i cannot why  is obj_layout.
I cannot find where they are connecting.
please save me.