• 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: Which method is called absolutetly last?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which method is called absolutetly last?


  • Subject: Re: Which method is called absolutetly last?
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 19 Apr 2006 19:34:37 +0200

Am 19.04.2006 um 15:47 schrieb Nir Soffer:
Try to call the method from applicationDidFinishLaunching: using performSelector:withObject:afterDelay:

There has *got* to be a better way than that to do it, right? If you just wait a fixed delay, heavy load or a slow hard disk or network volume could cause loading to take longer than the delay and it would still fail. Isn't there some method or notification that might help better?


A quick glance over the header offers NSManagedObjectContextDidSaveNotification, though that only seems to be called on a save...

Maybe you can use one of NSDocument's delegate methods? If you're using an NSPersistentDocument, that is. Otherwise you may have to just try and find out when exactly your model gets loaded and override some application delegate method you know gets called afterwards...

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Which method is called absolutetly last?
      • From: mmalcolm crawford <email@hidden>
References: 
 >Which method is called absolutetly last? (From: "Bobby B" <email@hidden>)
 >Re: Which method is called absolutetly last? (From: Nir Soffer <email@hidden>)

  • Prev by Date: Need some older messages (since 14th April, 2006)
  • Next by Date: Re: Which method is called absolutetly last?
  • Previous by thread: Re: Which method is called absolutetly last?
  • Next by thread: Re: Which method is called absolutetly last?
  • Index(es):
    • Date
    • Thread