• 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: iOS watchdog timeout at startup vs later?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS watchdog timeout at startup vs later?


  • Subject: Re: iOS watchdog timeout at startup vs later?
  • From: Rick Mann <email@hidden>
  • Date: Tue, 12 Aug 2014 16:31:17 -0700

In most cases, migration is very fast, and therefore not a problem. I'm trying to gauge how big a data set I can migrate before it becomes a problem. So, an answer to my actual question would be helpful. I don't care that it may change in the future, I'd like to know what it is now.

On Aug 12, 2014, at 16:27 , Kyle Sluder <email@hidden> wrote:

> On Tue, Aug 12, 2014, at 06:24 PM, Rick Mann wrote:
>>
>> On Aug 12, 2014, at 15:12 , Kyle Sluder <email@hidden> wrote:
>>
>>> On Tue, Aug 12, 2014, at 04:00 PM, Rick Mann wrote:
>>>> Hi. Is the timeout (the one that kills your app if the main run loop
>>>> blocks for too long) longer during app startup than after it's running?
>>>> I'm concerned about the Core Data migration my app does at startup. I
>>>> will eventually move it to work on a background thread, but I'd like to
>>>> punt that to the next release in the interests of time.
>>>
>>> Don't punt it. Do it now.
>>>
>>> Paul Goracke gave a very nice description of the death spiral that
>>> ensues if you try to perform a main-thread migration, especially at app
>>> launch: http://vimeo.com/89370886
>>
>> Unless we can show that it Just Doesn't Work (which it does), I seriously
>> can't spend the time to do that right now.
>
> Well in that case, be prepared for rejection from the App Store, or
> one-star reviews from your customers, when the watchdog repeatedly kills
> your app during launch.
>
> Obviously I don't know your app's architecture, but conceptually, even
> if you're using the thread-confinement model, you just need to throw up
> some form of modal UI while you perform the migration on a background
> thread.
>
> --Kyle Sluder


--
Rick Mann
email@hidden



_______________________________________________

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: iOS watchdog timeout at startup vs later?
      • From: Marc Palmer <email@hidden>
References: 
 >iOS watchdog timeout at startup vs later? (From: Rick Mann <email@hidden>)
 >Re: iOS watchdog timeout at startup vs later? (From: Kyle Sluder <email@hidden>)
 >Re: iOS watchdog timeout at startup vs later? (From: Rick Mann <email@hidden>)
 >Re: iOS watchdog timeout at startup vs later? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: iOS watchdog timeout at startup vs later?
  • Next by Date: Re: How do I get a black status bar?
  • Previous by thread: Re: iOS watchdog timeout at startup vs later?
  • Next by thread: Re: iOS watchdog timeout at startup vs later?
  • Index(es):
    • Date
    • Thread