Jules
Jules

Reputation: 7776

-init method doesn't get called

I would normally paste my code, but I think in this case it's important to show how my code use to look.

I've made some changes, following an advice here to workaround a leak. However, my -init method doesn't get called anymore. Can anyone point out the problem?

The breakpoint for -init is never met.

screenshot

Upvotes: 0

Views: 474

Answers (1)

Denis
Denis

Reputation: 6413

You're calling [super init]; this will call the init implementation of the superclass.

Upvotes: 1

Related Questions