In objective C whenver we create any object (i.e. uiview myview), it is stored on heap. Can anybod开发者_JS百科y please tell what is stored on stack?
Function parameters and return addresses, usually.
Although the object may exist on the heap, the pointer that holds the object's address is on the stack.
精彩评论