<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for lifjoy</title><link>http://disqus.com/by/lifjoy/</link><description></description><atom:link href="http://disqus.com/lifjoy/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 10 Apr 2009 13:38:12 -0000</lastBuildDate><item><title>Re: Sci-Fi Hi-Fi: Weblog</title><link>http://log.scifihifi.com/post/55837387#comment-8058016</link><description>&lt;p&gt;Thanks, plusbryan.  Your post really helped me.&lt;/p&gt;&lt;p&gt;One other note from a fellow newbie: my app crashes in the iPhone Simulator if I pass nil for the error parameter.&lt;/p&gt;&lt;p&gt;Instead, I declare an error variable like so:&lt;br&gt;NSError *error = nil;&lt;/p&gt;&lt;p&gt;Then pass the error parameter like so:&lt;br&gt;[SFHFKeychainUtils storeUsername:@"key" andPassword:@"value" forServiceName:@"appname" updateExisting:YES error:error];&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lifjoy</dc:creator><pubDate>Fri, 10 Apr 2009 13:38:12 -0000</pubDate></item><item><title>Re: Updated iPhone Keychain Code</title><link>http://log.scifihifi.com/post/88288499#comment-8057424</link><description>&lt;p&gt;Found the answer by looking at example code in the "opensocial-objc-client" library at &lt;a href="http://code.google.com/p/opensocial-objc-client/" rel="nofollow noopener" target="_blank" title="http://code.google.com/p/opensocial-objc-client/"&gt;http://code.google.com/p/op...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Anyway, the answer is not to pass nil for error.  Instead, first declare error like so:&lt;br&gt;NSError *error = nil;&lt;/p&gt;&lt;p&gt;Then call SFHFKeychainUtils like so:&lt;br&gt;[SFHFKeychainUtils storeUsername:@"myUsername" andPassword:@"mySecretPassword" forServiceName:@"MyServiceName" updateExisting:YES error:error];&lt;/p&gt;&lt;p&gt;Thought I'd post this to help other newbies.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lifjoy</dc:creator><pubDate>Fri, 10 Apr 2009 13:08:31 -0000</pubDate></item><item><title>Re: Updated iPhone Keychain Code</title><link>http://log.scifihifi.com/post/88288499#comment-8022793</link><description>&lt;p&gt;SFHFKeychainUtils Crash question from a newbie...&lt;/p&gt;&lt;p&gt;I’m getting a crash on line 172 of SFHFKeychainUtils.h when running on iPhone Simulator 2.2 on Leopard 10.5.6.&lt;/p&gt;&lt;p&gt;As per another newbie’s post on your blog, I am calling SFHFKeychainUtils like so:&lt;br&gt;[SFHFKeychainUtils storeUsername:@"myUsername" andPassword:@"mySecretPassword" forServiceName:@"MyServiceName" updateExisting:YES error:nil];&lt;/p&gt;&lt;p&gt;I assume I can pass any valid string as those three parameters, and that Username does not have to correspond to the OS X username.&lt;/p&gt;&lt;p&gt;At the top of my source.m file, I have:&lt;br&gt;#import "SFHFKeychainUtils.h"&lt;/p&gt;&lt;p&gt;And I’ve included Security.framework in my project.&lt;/p&gt;&lt;p&gt;What am I doing wrong?&lt;/p&gt;&lt;p&gt;Thanks in advance to anyone who can help!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lifjoy</dc:creator><pubDate>Thu, 09 Apr 2009 20:57:55 -0000</pubDate></item></channel></rss>