• 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
Posting to NotificationCenter from an Open Source app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Posting to NotificationCenter from an Open Source app


  • Subject: Posting to NotificationCenter from an Open Source app
  • From: Matthew Egan <email@hidden>
  • Date: Mon, 26 Jun 2006 21:56:04 +1000

I'm not sure this is possible (doesn't seem to be to much info on the net about it) but I will ask anyway ...

I want to change an Open Source ftp server program to contact NSDistributedNotificationCenter and post a notification.

I want to add a couple of lines of code to tell another application that it has received a file and the download is complete. There are several examples on how to use NSDistributedNotificationCenter within a Cocoa app - but I want to send this notification from within a CLI application that is written in C. I would have to add the code and then make/compile with GCC.

Is this possible?
Can someone point me in the direction of some example code.

The closest thing I can find is this example:

http://po-ru.com/diary/drb-and-nsdistributednotificationcenter-in- rubycocoa/

I'm new at this stuff and I'm having trouble interpreting the info ... so if anyone could help me I would appreciate it.



Thanks


Matt Egan



_______________________________________________
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: Posting to NotificationCenter from an Open Source app
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Compositing to custom view with variable 'pen' and 'paper' colours.
  • Next by Date: objectForKey:self
  • Previous by thread: Re: Compositing to custom view with variable 'pen' and 'paper' colours.
  • Next by thread: Re: Posting to NotificationCenter from an Open Source app
  • Index(es):
    • Date
    • Thread