• 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
Two help menus after core data migration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two help menus after core data migration


  • Subject: Two help menus after core data migration
  • From: Mike Zornek <email@hidden>
  • Date: Tue, 19 Dec 2006 00:30:30 -0500

Hi everyone. I'm about to push out a 1.1 of my Core Data
(non-document/sqlite based) application. The schema has changed since 1.0
and as such I'm doing a schema migration. In my implementation, I use my app
delegate method for managedObjectContext to peak at the store's metadata and
find out if it needs to be upgraded and if so present the user with an alert
explaining the upgrade and have them confirm it should be done (or quit the
app). After the upgrade I initialize the managedObjectContext per usual and
continue launch.

Now because I'm presenting an alert message before
NSApplicationDidFinishLaunching is sent NSApplication doesn't get a chance
to tell the Carbon Menu Manager that this is a Cocoa app, and that therefore
the Menu Manager shouldn't create the Help menu automatically. Ref:

http://www.cocoabuilder.com/archive/message/cocoa/2005/12/13/152473

My problem is I need to do the migration before the app launches and I don't
want to sacrifice the UI warning. Any suggestions on how I can get ride of
that extra Help menu?

~ Mike
--
Work: http://ClickableBliss.com
Play: http://MikeZornek.com


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Prev by Date: Re: Re: NSMatrix, NSImageCell and selection indicator
  • Next by Date: Re: No launch complete notification
  • Previous by thread: Re: No launch complete notification
  • Next by thread: managedObjectContext.hasChanges not binding right to non-menu UI items?
  • Index(es):
    • Date
    • Thread