arc (357)


iphone - Understanding reference counting with Cocoa and Objective-C

iphone - Understanding reference counting with Cocoa and Objective-C

I'm just beginning to have a look at Objective-C and Cocoa with a view to playing with the iPhone SDK. I'm reasonably comfortable with C's malloc and free concept, but Cocoa's references counting sche…


objective c - How does the NSAutoreleasePool autorelease pool work?

As I understand it, anything created with an alloc, new, or copy needs to be manually released. For example: int main(void){NSString*string; string=[[NSString alloc] init];/* use the…


iphone - Memory Management in Objective-C

Possible Duplicates: Learn Obj-C Memory Management Where are the best explanations of memory management for iPhone? I come from a C/C++ background and the dynamic nature of Objective-C is somewhat…


iphone - Problem dealloc'ing memory used by UIImageViews with fairly large image in an UIScrollView

I have a large UIScrollView into which I'm placing 3-4 rather large(320x1500 pixels or so) UIImageView image tiles. I'm adding these UIImageViews to the scroll view inside of my NIB files. I have…


objective c - NSInvocation for Dummies?

How exactly does NSInvocation work? Is there a good introduction? I’m specifically having issues understanding how the following code(from Cocoa Programming for Mac OS X, 3rd Edition) works, but then…


Learn Obj-C Memory Management

Possible Duplicate: Where are the best explanations of memory management for iPhone? I come from a web development background. I'm good at XHTML, CSS, JavaScript, PHP and MySQL, because I use all…


What's happening with Arc?

Arc, if you don't know, is Paul Graham's "100 year language", or, more prosaically, new version of Lisp. It was heavily trailed on reddit(back when reddit was interesting), and an early version was…



Do you have any recommended plugins for Netbeans?

This is a copy of the question:https://stackoverflow.com/questions/2826/do-you-have-any-recommended-plugins-for-eclipse But now is for netbeans(I'm not a eclipse lover. CTRL+TAB does not change pa…


Recommend some Bresenham's-like algorithm of sphere mapping in 2D?

I need the fastest sphere mapping algorithm. Something like Bresenham's line drawing one. Something like the implementation that I saw in Star Control 2(rotating planets). Are there any already inve…


iPhone-when is dealloc for a viewcontroller called?

I am using UINavigationController to move between views. When I move back and forth in views, the memory used by my app keeps on increasing. On placing NSLog statements in the dealloc method of all v…




objective ios swift how memory reference management circle counting automatic