<?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: How To Test For An Internet Connection On The iPhone</title>
	<atom:link href="http://www.musicalgeometry.com/archives/523/feed" rel="self" type="application/rss+xml" />
	<link>http://www.musicalgeometry.com/archives/523</link>
	<description>sound, code, &#38; DIY tech</description>
	<lastBuildDate>Tue, 31 Aug 2010 18:23:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: jj0b</title>
		<link>http://www.musicalgeometry.com/archives/523/comment-page-1#comment-312</link>
		<dc:creator>jj0b</dc:creator>
		<pubDate>Tue, 22 Sep 2009 04:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.musicalgeometry.com/?p=523#comment-312</guid>
		<description>The code I provided should be placed in your implementation file (the .m one). I have been using this code in my ViewWillAppear method.

As far as what &#039;else&#039; to do, that depends on your app. If your app connects to the internet and downloads a picture then the &#039;else&#039; statement in my example is where you would do that. That is a super simple example of course. Basically the rest of your implementation file that you want to execute if there is an internet connection would go there.

I put the Reachability.h and Reachability.m in my Classes folder and add the SystemConfiguration.framework by right-clicking (or command-clicking) on the Frameworks folder and choosing Add-&gt;Existing Frameworks and choosing the framework.

Hope that helps clarify things.</description>
		<content:encoded><![CDATA[<p>The code I provided should be placed in your implementation file (the .m one). I have been using this code in my ViewWillAppear method.</p>
<p>As far as what &#8216;else&#8217; to do, that depends on your app. If your app connects to the internet and downloads a picture then the &#8216;else&#8217; statement in my example is where you would do that. That is a super simple example of course. Basically the rest of your implementation file that you want to execute if there is an internet connection would go there.</p>
<p>I put the Reachability.h and Reachability.m in my Classes folder and add the SystemConfiguration.framework by right-clicking (or command-clicking) on the Frameworks folder and choosing Add->Existing Frameworks and choosing the framework.</p>
<p>Hope that helps clarify things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Dietz</title>
		<link>http://www.musicalgeometry.com/archives/523/comment-page-1#comment-311</link>
		<dc:creator>David Dietz</dc:creator>
		<pubDate>Fri, 18 Sep 2009 20:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.musicalgeometry.com/?p=523#comment-311</guid>
		<description>That’s great and all, but being a noob, I could use a little more direction here. In step 3 you said, “add this code.” But you failed to tell us where to add that code. Does it go in the h, m, or systemconfiguration files? Also, at the end of the sample code, I could use some help telling the Reachability app what “else” to do. else die? else load app? else WHAT?</description>
		<content:encoded><![CDATA[<p>That’s great and all, but being a noob, I could use a little more direction here. In step 3 you said, “add this code.” But you failed to tell us where to add that code. Does it go in the h, m, or systemconfiguration files? Also, at the end of the sample code, I could use some help telling the Reachability app what “else” to do. else die? else load app? else WHAT?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
