[MacRuby-devel] A little NSStatusBar app - Gmail Notifr

Rob Gleeson rob at flowof.info
Fri Nov 19 07:22:44 PST 2010


Thanks for sharing :) 

On 19 Nov 2010, at 14:36, James Chen wrote:

> Hi guys,
> 
> Gmail Notifr was originally written in RubyCocoa, which runs as a little NSStatusBar app and checks your gmail feeds at specified intervals. I started updating it to MacRuby last month.
> 
> Most changes were just simply updating method_arg1_arg2 to method(arg1:arg2). Since this app saves account/password in Keychain, I also extracted the keychain access code to a separate project. Still have some difficulties on Security.framework's C methods. I also need to make the growl notification work later.
> 
> I know many guys are interested in how to make menu bar (NSStatusBar) application so I guess this in progress project might help a little. The project repository is: https://github.com/ashchan/gmail-notifr , and the keychain access wrapper project is here: https://github.com/ashchan/macruby-keychain-wrapper .
> 
> Regarding the C methods calling, the keychain wrapper has to access this API:
> 
>     SecKeychainItemModifyAttributesAndData
> 
> It would be really great if anyone knows how to construct SecKeychainAttributeList and other necessary parameters for this API and offers some help.
> 
> ---
> James Chen
> ashchan.com | @ashchan 
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


---
Rob





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20101119/c2fe2b0c/attachment.html>


More information about the MacRuby-devel mailing list