• 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
Re: Question about split view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about split view


  • Subject: Re: Question about split view
  • From: Phillip Mills <email@hidden>
  • Date: Mon, 17 Jan 2011 07:09:01 -0500

On 2011-01-16, at 10:08 PM, Kyle Sluder wrote:

> I'm sure developers would
> love if the frameworks *did* manage memory correctly.

In the absence of page/swap space for modified memory, I'm not sure what 'correctly' means.  :-)

To my way of thinking, the problem is that there's no well-defined "and now we're back" notification.  Re-using the method that's normally called to load the startup state of a view doesn't quite cut it when the view should actually represent on-going state changes.  Maybe an approach is to use didReceiveMemoryWarning to create a record of differences vs. startup and, if not nil, apply those in viewDidAppear.  Another thought would be for the framework to have a 'dirty' flag to control whether a view could be unloaded/reloaded without harm.

I guess I'll look at the possibility of preventing unloading (at least of the detail view), perhaps in combination with my own 'dirty' indicator.

_______________________________________________

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

References: 
 >Re: Question about split view (From: Matt Neuburg <email@hidden>)
 >Re: Question about split view (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Get iphoto scripting bridge handle without starting iphoto?
  • Next by Date: Re: NSNotFound
  • Previous by thread: Re: Question about split view
  • Next by thread: Re: Question about split view
  • Index(es):
    • Date
    • Thread