• 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: iPhoto plugin source
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhoto plugin source


  • Subject: Re: iPhoto plugin source
  • From: Jonathan Younger <email@hidden>
  • Date: Wed, 28 Apr 2004 07:36:22 -0700

I recently went through this myself.

Here is what I did to get it working:

1) I followed the Andrew Stone article except I left out the code that dealt specifically with the functionality of his plugin. For example I left out the doExport, scriptCommand, downloadLatest, and the AppleScript stuff.

2) Be sure to create the ExportPluginBoxProtocol and link it up in Interface Builder. This is mentioned at the end of the article.

3) What isn't in the article and what wasn't apparent to me, having never written a Plugin before. You need to make sure that you set the Principal Class and Main Nib File properties for your target build. Without these set iPhoto will not "know" which class to instantiate as your principal class and it won't "know" which Nib file to load.

Once I had these down my plugin showed up in the export tab view.

Hope this helps.

Console is your friend. If there isn't something right with your plugin iPhoto should write something to the console about it.

-Jonathan

On Apr 28, 2004, at 3:07 AM, Stephan Burlot wrote:

Hi list,

I'm looking for some *working* sample code for a iPhoto plugin. I've tried to implement the iPhoto to PhotoToWeb by Andrew Stone (<http://www.stone.com/The_Cocoa_Files/Writing_PlugIns.html>) without success. (my plugin isnt even called when iPhoto starts...)

I also found iphoto2weblog by Eric Sigler (<http://esigler.2nw.net/software/ iphoto2weblog_merging_content_management_systems>), who should have released the code, but I couldnt find it. I contacted Eric Sigler, but got no answer yet.

Any hints where I should look? Anyone got some code to share?

Thanks,
Stephan
_______________________________________________
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.
_______________________________________________
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.


References: 
 >iPhoto plugin source (From: Stephan Burlot <email@hidden>)

  • Prev by Date: Re: JavaBeans in Cocoa
  • Next by Date: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
  • Previous by thread: Re: iPhoto plugin source
  • Next by thread: Releasing a sub-view
  • Index(es):
    • Date
    • Thread