• 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
Is applicationDidReceiveMemoryWarning obsolete now?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is applicationDidReceiveMemoryWarning obsolete now?


  • Subject: Is applicationDidReceiveMemoryWarning obsolete now?
  • From: Andreas Falkenhahn <email@hidden>
  • Date: Fri, 23 Dec 2016 16:07:46 +0100

Apple's docs on applicationDidReceiveMemoryWarning say that

    It is strongly recommended that you implement this method. If your app
    does not release enough memory during low-memory conditions, the system
    may terminate it outright.

However, when creating a new "Single View Application" for iOS, Xcode 8.2 doesn't
create a stub for applicationDidReceiveMemoryWarning. It only creates stubs
for other delegate methods like applicationDidBecomeActive and so on.

An old app of mine which I created with Xcode 3.2 still has the applicationDidReceiveMemoryWarning
stub, though, but Xcode 8.2. doesn't seem to create it any more. Is this done
on purpose? But why do the docs stress the importance of implementing this
delegate method then?

--
Best regards,
 Andreas Falkenhahn                          mailto:email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Is applicationDidReceiveMemoryWarning obsolete now?
      • From: David Duncan <email@hidden>
  • Prev by Date: Strip doesn't strip
  • Next by Date: Re: Strip doesn't strip
  • Previous by thread: Re: Strip doesn't strip
  • Next by thread: Re: Is applicationDidReceiveMemoryWarning obsolete now?
  • Index(es):
    • Date
    • Thread