• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
self release
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: self release
      • From: Michael Grant <email@hidden>
    • Re: self release
      • From: Jeremy Pereira <email@hidden>
    • Re: self release
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: How to check if a class derives from another?
  • Next by Date: Re: wait for the event?
  • Previous by thread: Re: Two digit dates with NSDateFormatter
  • Next by thread: Re: self release
  • Index(es):
    • Date
    • Thread