automatic-ref-counting
I'm writing a Button class in Objective-C with ARC -- How do I prevent Clang's memory leak warning on the selector?
I\'m writing a simple button class, something like this: @interface MyButton : NSObject { id object; SEL action;[详细]
2023-03-28 06:21 分类:问答ARC error when declaring delegate ivar
I am using ARC (no, this is not NDA). I am declaring my ivar in my interface with id itemDelegate; I then declare the property:[详细]
2023-03-27 13:21 分类:问答View based NSTableView EXC_BAD_ACCESS on Lion with ARC
This is weird. I\'ve got a super simple project to learn NSTableView, and it\'s set up in my nib, set as a View-based tableView. I\'ve also set the dataSource and delegate to my controller obejct.[详细]
2023-03-26 04:24 分类:问答Does an app compiled with base sdk 5.0 will work on iOS4.x?
Does an app compiled with base sdk 5.0 will开发者_StackOverflow work on iOS4.x ? I have made deployment target to 4.0. Will ARC work on iOS4.x devices. Is there a way to support both in a same app? I[详细]
2023-03-24 23:04 分类:问答Memory issue or something else?
I\'m running an application on my iPad that loads images into a carousel. In total there are 138 images. If I reduce that number to 100, the application loads fine. At 138, however, the application pa[详细]
2023-03-24 15:26 分类:问答iOS -- initWith methods under arc
In the old days, we were trained to write init methods like this: Foo.h: -(id) initWithInteger: (NSInteger) someNumber;[详细]
2023-03-24 07:17 分类:问答implicit conversion of an Objective-C pointer to 'void *' is disallowed with ARC
What does this mean and what alternative do I have? implicit conversion of an Objective-C pointer to \'void *\' is disallowed with ARC[详细]
2023-03-24 05:10 分类:问答How do I replace weak references when using ARC and targeting iOS 4.0?
I\'ve begun developing my first iOS app with Xcode 4.2, and was targeting iOS 5.0 with a \"utility application\" template (the one that comes with a FlipsideViewController).[详细]
2023-03-23 23:32 分类:问答Should I learn manual Objective-C memory management, now that ARC is here?
I\'ve started to pick up Objective-C (with no previous prog开发者_StackOverflow社区ramming experience) and I\'m working through Kochan\'s \"Programming in Objective-C (3rd Edition)\". It\'s supposed t[详细]
2023-03-23 21:53 分类:问答Correct bridging for ARC?
I have a category class for NSString. @implementation NSString (URLEncode) - (NSStrin开发者_开发技巧g *)URLEncodedString[详细]
2023-03-22 16:32 分类:问答