All Questions
11 questions
0
votes
1
answer
609
views
CADisplayLink displayLinkWithTarget gets immediately released
I am working with an external lib and for some reason when the test app is designed with storyboards the CADisplayLink displayLinkWithTarget method returns an object that is immediately released?
...
0
votes
1
answer
231
views
Rogue Zombie on dealloc of ViewController
In Xcode, start a new master-detail project. Call it 'Test'.
Add a new 'File' to it. Make it a UIViewController file with XIB. Call it TestViewController.
Modify your MasterViewController code in ...
0
votes
1
answer
538
views
dealloc doesn't work in cocos2d
i have game with cocos2d and method dealloc
i use this to change scene.
CGSize size = [[CCDirector sharedDirector] winSize];
CCMoveTo* move = [CCMoveTo actionWithDuration:1.0f position:CGPointMake(-(...
2
votes
3
answers
750
views
iOS Programming: 'super dealloc' crashes app
This is my first time asking a question in this site. as an amateur developer, I always found answers to my questions in this site, but I could not find one to my current problem.
In my iPad app I ...
1
vote
1
answer
418
views
The [super dealloc] in dealloc of UIViewController giving problem in iPad
I am working on an application where i am pushing one view controller on to a UINavigationController and releasing it immediately as the navigation controller retains it.When i am poping the view ...
0
votes
1
answer
582
views
UIPopoverController deallocated issue
I used a Popover to display image in it. When the user touch a button, the popover appears with a slideshow inside.
I initialize the Popover like this : `
- (IBAction)showPopover:(UIButton *)sender {...
0
votes
1
answer
714
views
Custom class becomes deallocated just after start. EXC_BAD_ACCESS
I have created new class which handles button. It does nothing (just for test, method is clean). It is deallocated just after launch and when I click button app crashes with EXC_BAD_ACCESS.
This is my ...
1
vote
1
answer
700
views
How to fix strange retain count (1 init - 3 retaincount)? + edit: dealloc problem
So my code goes like this:
ArticleControllerController *ac = [[ArticleControllerController alloc] init];
ac.categoryIndex = idx;
NSLog(@"acc retain: %d", [ac retainCount]);
[app.nav ...
1
vote
2
answers
3k
views
iOS AVAudioPlayer multiple instances, multiple sounds at once
I am working on an interactive children's book for the iPad that has a "read to me" option.
For each page (that has an index), theres an audio clip that produces the "read to me" feature. The feature ...
0
votes
2
answers
345
views
Problems releasing memory when popping a viewController using a navigationController
I'm having the following problem. When I pop the view controller pushing the back button, the dealloc method is not getting called.
Here is the code I'm using:
NSLog(@"coleccionVista retain count0: %...
1
vote
4
answers
332
views
iPhone. Shouldn't hitting the home button cause UIApplicationDelegate's dealloc to be called
I have put NSLogs in all my classes including my UIApplicationDelegate subclass. I am curious - and a bit nervous - about why I am not seeing them echo anything when I press the home button. I am ...