アプリで自動リリースを使用したい。このメソッドを実装したい
- (void)selectorConnect: (NSArray *)args
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
//some code
[pool release];
}
行でクラッシュし[pool release]
ます。そのための解決策。
アプリで自動リリースを使用したい。このメソッドを実装したい
- (void)selectorConnect: (NSArray *)args
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
//some code
[pool release];
}
行でクラッシュし[pool release]
ます。そのための解決策。