automatic-ref-counting
Different memory management ARC / no ARC
I have to convert simple ARC code to non ARC. While it was relatively straight forward 开发者_C百科I missed an instance variable assignment self.var = xxx, instead I wrote var = xxx.[详细]
2023-04-03 17:05 分类:问答IBOutlets Not Setting in NSViewController
So I\'ve got an NSViewController (MyVC) set up like so: //MyVC.h ... @开发者_如何学Goproperty (nonatomic, retain) IBOutlet NSTextField *input;[详细]
2023-04-03 14:09 分类:问答id array member instance under ARC
I want to开发者_开发知识库 write something like this: @interface Foo{ __strong id idArray[]; } @end[详细]
2023-04-02 19:15 分类:问答Open Source for non-ARC (Automatic Reference Counting) and ARC Users
We have some open source libraries that are distributed via开发者_如何学编程 code into other projects via git modules with Xcode. Some of the projects would remain with explicit retains/release while[详细]
2023-03-30 22:07 分类:问答How to address a "Implicit conversion of an Objective-C pointer to 'const void' is disallowed" error when using [NSValue valueWithPointer:t]?
How do I fix the error \"Implicit conversion of an Objective-C pointer to \'const void\' is disallowed\" when using the following message:[详细]
2023-03-30 21:33 分类:问答Under ARC, how do I release the elements in an NSArray?
Under standard Objective-C manual memory management, it was suggested in this question that the way to release an NSArray initialized using[详细]
2023-03-30 19:45 分类:问答ARC error when compiling
I\'m trying to compile开发者_JAVA百科 using the LLVM GCC 4.0 compiler, and I get this error in multiple of my .m files: ARC forbids explicit message send of \'release\'[详细]
2023-03-30 18:32 分类:问答C++ member variable in Objective-C++ under ARC
I\'m trying to use a C++ member in an Objective-C++ class. Something like this: class CPP;开发者_StackOverflow社区[详细]
2023-03-30 05:39 分类:问答Objective-C SCNetworkReachabilityContext ARC conversion
While converting an app开发者_开发百科 to use Automatic Reference Counting I came across this error:[详细]
2023-03-30 01:59 分类:问答Should I use ARC in objective-c?
Looking at the release notes of OS 10.7, there\'s some stuff about using Automatic Reference counting (ARC) to make memory management simple. I\'m about to embark on a new Cocoa project soon and wonde[详细]
2023-03-28 17:19 分类:问答