In Cocoa (and other frameworks that derive from NeXTSTEP), dealloc is the instance method responsible for tearing down an object. It should release the object's references to its ivars and then call up to the superclass's implementation.

learn more… | top users | synonyms

3
votes
0answers
162 views

Climbing CFData memory usage when using Core Image filters

I'm having a problem with too much allocated memory. My app alloc mem reaches up to 100MB! And yes... i'm using ARC. most of memory allocated is by CFData(as i understand it is CoreImage filters). ...
1
vote
0answers
17 views

Releasing a 3rd party library in Objective-C

In my objective-C code, I'm creating an instance of a class provided by a 3rd party library: @property (nonatomic, strong) MY3rdPartyLibraryClass *session; // ... - (void) createSession ...
1
vote
0answers
106 views

When does the View controller Deleted in ARC

I am Working on a ARC based project. I got two ViewControllers. In the First ViewController I got a button, on pressing that button I am pushing the new ViewController. I am doing it as follows, ...
1
vote
0answers
300 views

GDataXML -[CFString release]: message sent to deallocated instance

Originally I got a annoyingly vague malloc: error for object 0x6ad4590: double free error. Then I followed the advice in this post and obtained a more useful error: -[CFString release]: message sent ...
1
vote
0answers
134 views

AppDelegate dealloc gets called before program starts

I am experiencing a very weird situation that crashes my app when running on device. When I run my app on iphone from xcode, I got an error saying I am trying to access an AppDelegate property that ...
1
vote
0answers
211 views

“dealloc” of UIView isn't called

I have simple View controller [.h] @interface GLViewController : UIViewController <UISplitViewControllerDelegate>{ MGSplitViewController* splitController; } -(void)setSplitter: ...
1
vote
0answers
137 views

UIViewController not released when added to a UINavigationController

Below is reduced bit of code to demonstrate a problem I am a having. I allocate and init a view controller. The init method is the standard Objective C init, so the view controller isn't doing ...
0
votes
0answers
29 views

UIImage subclass dealloc not called?

I have a UIImage subclass which does a malloc on init and free's it on dealloc, but the dealloc is never called. The UIImage is created in an XIB for my view controller. Entering and leaving the view ...
0
votes
0answers
14 views

How to get rid of an UILabel

In my LoginView I create an UILabel that is at the bottom; width is screensize. This label is created when the user hits a button to use my application in testmode. The button also pushes my first ...
0
votes
0answers
94 views

How to access CoreData Entities in different ViewControllers? The pointer seems to be retained upon dealloc

I am currently trying to figure out the best way to access entities in different UIViewControllers. I am currently using the following which seems to have the least live bytes: View Controller 1 ...
0
votes
0answers
46 views

UIImageView subclass as a subview of TableViewCell Zombie

I have a subclassed UIImageView called STCIcon that is a subview of a tableView cell. I am using FMMoveTable to have hold and drag sorting. Somewhat randomly and seemingly only on the simulator, ...
0
votes
0answers
50 views

Delalloc Call before DidFinishLoading in AppDelegate Class

In my application when I run it with xcode 4.2 it working perfectly but when I run it with xcode 4.5 then I find a critical error there. I found that Dealloc method of ApplicationDelegate call First, ...
0
votes
0answers
61 views

Do I really need a dealloc method for my rootViewController?

Do I really need a dealloc method for my RootViewController (window.rootViewController) ? Of course apple document says you need a dealloc for your UIViewController. But I think if my ...
0
votes
0answers
117 views

iAd crashes on 4.3 Simulator but works fine on 5.1

I get this error on the 4.3 simulator just before crashing. It works just fine on 5.1. When I completely take out the iAd code it works fine on 4.3. App was designed on 5.1 using arc. ...
0
votes
0answers
57 views

Too many IBOutlets causing crash

I am making an app that has a lot of stuff in the nib file. I have a about thirty iboutlets that I connect to stuff I made in the nib. A lot of these are long scroll views with lots of text. I use ...

1 2 3
15 30 50 per page