self release
self release
- Subject: self release
- From: Dragos Ionel <email@hidden>
- Date: Tue, 6 Oct 2009 00:00:00 -0400
I have the following scenario:
A UIViewController, called BookViewController represents a book.
Another UIViewController, ChapterViewController, represents a chapter in the
book.
BookViewController initializes and displays one ChapterViewController, that
represents the current chapter that is read.
The user moves through the pages of the chapter, back and forth. This
functionality belongs to ChapterViewController.
When the last page of the chapter is reached and the user tries to get to
the next page, the code inside the ChapterViewController has somehow to tell
the parent controller, BookViewController that it needs to be released and
another chapter to be initialized.
How can this be achieved?
Your help is appreciated.
Dragos
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden