• 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
Bundles as plugins
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bundles as plugins


  • Subject: Bundles as plugins
  • From: David Newberry <email@hidden>
  • Date: Sat, 2 Mar 2002 18:27:38 -0800

Hello all,

I'm working on making an app that will use Cocoa bundles as plugins. The only thing I haven't been able to do is have the plugin put up a window of its own. Is this even possible? What I tried doing was giving the bundle a nib file and a window with a window controller. I call the plugin method and it does it's little thing (for the test, it simply returns the number 5), but it doesn't display the window. (To elevate anybody's fear, the code to show the window /is/ before the "return" statement.) Is displaying a window from a dynamically loaded bundle not allowed? Perhaps I should implement a mechanism that has the bundle pass a reference to its WindowController back to the main app to display? ...Or something else?

Thanks,
-David Newberry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Bundles as plugins
      • From: Rosyna <email@hidden>
  • Prev by Date: Re: The Project From A Faraway Land
  • Next by Date: panels in services
  • Previous by thread: Re: Making a Cocoa web crawler
  • Next by thread: Re: Bundles as plugins
  • Index(es):
    • Date
    • Thread