Public feed #909044

Anonymous

public text v1 · immutable
Raw Edit
·published 2008-02-18 21:51 UTC
rendered paste body
   def __postNotification(notificationName, message):
        pool = Foundation.NSAutoreleasePool.alloc().init()
        nc = Foundation.NSDistributedNotificationCenter.defaultCenter()
        nc.postNotificationName_object_(notificationName, message)
        del pool