<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mac/iPhone: Show Available Usable Disk Space</title>
	<atom:link href="http://kdbdallas.com/2008/12/27/maciphone-show-availble-useable-diskspace/feed/" rel="self" type="application/rss+xml" />
	<link>http://kdbdallas.com/2008/12/27/maciphone-show-availble-useable-diskspace/</link>
	<description>Mac and iPhone Developer, Husband, Father, all in one</description>
	<lastBuildDate>Tue, 20 Apr 2010 03:50:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Raptor</title>
		<link>http://kdbdallas.com/2008/12/27/maciphone-show-availble-useable-diskspace/comment-page-1/#comment-110</link>
		<dc:creator>Raptor</dc:creator>
		<pubDate>Tue, 20 Apr 2010 03:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://kdbdallas.com/?p=102#comment-110</guid>
		<description>Hi Dallas, I used your codes, and sometimes it returns negative free space. why?</description>
		<content:encoded><![CDATA[<p>Hi Dallas, I used your codes, and sometimes it returns negative free space. why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Schiefer</title>
		<link>http://kdbdallas.com/2008/12/27/maciphone-show-availble-useable-diskspace/comment-page-1/#comment-105</link>
		<dc:creator>David Schiefer</dc:creator>
		<pubDate>Sun, 06 Dec 2009 13:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://kdbdallas.com/?p=102#comment-105</guid>
		<description>For me, it did not work. Both the old code and the new code made the simulator and iPhone crash.

2009-12-06 13:25:13.446 [6536:207] *** Terminating app due to uncaught exception &#039;NSInvalidArgumentException&#039;, reason: &#039;*** -[NSCFString stringByAppendingString:]: nil argument&#039;
2009-12-06 13:25:13.449 [6536:207] Stack: (
    30524507,
    2531120393,
    30608443,
    30608282,
    236131,
    67276,
    10880,
    2868767,
    2906634,
    2894728,
    2877139,
    2904245,
    37531345,
    30309248,
    30305352,
    2870889,
    2908163,
    9458,
    9330
)</description>
		<content:encoded><![CDATA[<p>For me, it did not work. Both the old code and the new code made the simulator and iPhone crash.</p>
<p>2009-12-06 13:25:13.446 [6536:207] *** Terminating app due to uncaught exception &#8216;NSInvalidArgumentException&#8217;, reason: &#8216;*** -[NSCFString stringByAppendingString:]: nil argument&#8217;<br />
2009-12-06 13:25:13.449 [6536:207] Stack: (<br />
    30524507,<br />
    2531120393,<br />
    30608443,<br />
    30608282,<br />
    236131,<br />
    67276,<br />
    10880,<br />
    2868767,<br />
    2906634,<br />
    2894728,<br />
    2877139,<br />
    2904245,<br />
    37531345,<br />
    30309248,<br />
    30305352,<br />
    2870889,<br />
    2908163,<br />
    9458,<br />
    9330<br />
)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://kdbdallas.com/2008/12/27/maciphone-show-availble-useable-diskspace/comment-page-1/#comment-67</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Sat, 13 Jun 2009 19:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://kdbdallas.com/?p=102#comment-67</guid>
		<description>Thanks for taking time to respond.</description>
		<content:encoded><![CDATA[<p>Thanks for taking time to respond.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dallas</title>
		<link>http://kdbdallas.com/2008/12/27/maciphone-show-availble-useable-diskspace/comment-page-1/#comment-66</link>
		<dc:creator>Dallas</dc:creator>
		<pubDate>Thu, 11 Jun 2009 21:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://kdbdallas.com/?p=102#comment-66</guid>
		<description>I just tried the code in the zip file in a mac project and it worked correctly for me...
If I remember right it does not work in the simulator but does work on the device.

Make sure you are using the zip file and not the pasted code.

Here is what I added to my project to get it to work.

(added the files to the project)
(added: #include &quot;FSStats.h&quot;   - to the class where you want to use it)

NSLog(@&quot;%@&quot;, [[[FSStats alloc] initWithFilePath:@&quot;/Users/dallas&quot;] getAvailableDiskSpace]);

Make sure you set the path correctly and you have permissions (I dont remember what happens if the path is incorrect or if you dont have permissions, so check this to start)

Hope this helps</description>
		<content:encoded><![CDATA[<p>I just tried the code in the zip file in a mac project and it worked correctly for me&#8230;<br />
If I remember right it does not work in the simulator but does work on the device.</p>
<p>Make sure you are using the zip file and not the pasted code.</p>
<p>Here is what I added to my project to get it to work.</p>
<p>(added the files to the project)<br />
(added: #include &#8220;FSStats.h&#8221;   &#8211; to the class where you want to use it)</p>
<p>NSLog(@&#8221;%@&#8221;, [[[FSStats alloc] initWithFilePath:@&#8221;/Users/dallas&#8221;] getAvailableDiskSpace]);</p>
<p>Make sure you set the path correctly and you have permissions (I dont remember what happens if the path is incorrect or if you dont have permissions, so check this to start)</p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://kdbdallas.com/2008/12/27/maciphone-show-availble-useable-diskspace/comment-page-1/#comment-65</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Thu, 11 Jun 2009 21:17:33 +0000</pubDate>
		<guid isPermaLink="false">http://kdbdallas.com/?p=102#comment-65</guid>
		<description>Hi Dallas. Thanks for sharing this. I tried running the classes you posted in an application, but it always crashes (both simulator and device). Have others got this working as is?</description>
		<content:encoded><![CDATA[<p>Hi Dallas. Thanks for sharing this. I tried running the classes you posted in an application, but it always crashes (both simulator and device). Have others got this working as is?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
