How to create events or albums and import images to iPhoto/Aperture using Cocoa

Discussion in 'Mac Programming' started by smokyonion, Apr 29, 2010.

  1. smokyonion macrumors newbie

    Dec 13, 2009
    Hello, guys.

    I am learning NSImage and NSView right now,

    and I have created a small project called image viewer and exporter

    I want to do a feature to export my images to iPhoto or Aperture,

    and i can set the album name or event name.

    After 30 mins Google, I only find this, but it seems not what I am looking for.

    Does anyone know about this , and please please give me some direction

    or Apple official reference link. (sorry I cannot find one relevant to the subject)

    I will appreciate you so much, thank you.

    By the way, I have an example here, this software called Sofortbild
    It is a Nikon camera remote control program.
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    I imagine they all use AppleScript (which is designed for cross-application scripting) rather than Cocoa. There is no real Cocoa interface to iPhoto or Aperture. There is a Cocoa interface to calling AppleScript though (Google will be your friend).
  3. smokyonion thread starter macrumors newbie

    Dec 13, 2009
    Thank you so much robbie, much appreciated.

    I will look up the keyworkd you provided.

Share This Page