[MacRuby-devel] retrieving password from keychain
Benjamin Stiglitz
ben at tanjero.com
Thu Apr 23 21:34:44 PDT 2009
> Thanks for the reply Laurent. Yes I did generate a BridgeSupport file
> and included it in my build. I did try to call the method and pass in
> a pointer for the item reference (using Pointer.new_for_type('@')) but
> the object that was assigned after the call was some weird NSCFType
> object which, when I googled it, basically translates to "you're
> screwed" :) I do get some malloc warnings when I include the
> bridgesupport file so I was a bit uneasy about the whole thing.
Actually, in this particular case an NSCFType is exactly what you
expect, since SecKeychainItemRef isn’t toll-free bridged with an
Objective-C type.
-Ben
More information about the MacRuby-devel
mailing list