<?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: Passing data between classes</title>
	<atom:link href="http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/</link>
	<description>iPhone, iPod touch games, Objective-C Tutorials, krzysztofrutkowski.com</description>
	<lastBuildDate>Sun, 05 Feb 2012 19:19:36 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: porn watch</title>
		<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/comment-page-1/#comment-252655</link>
		<dc:creator>porn watch</dc:creator>
		<pubDate>Fri, 16 Dec 2011 13:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=749#comment-252655</guid>
		<description>look videos watch</description>
		<content:encoded><![CDATA[<p>look videos watch</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/comment-page-1/#comment-232412</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 26 Nov 2011 11:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=749#comment-232412</guid>
		<description>I really wish I hadn&#039;t seen this as I really want one now! This is all very new to me and this article really opened my eyes.Thanks for sharing with us your wisdom. http://www.charmhandbags.com</description>
		<content:encoded><![CDATA[<p>I really wish I hadn&#8217;t seen this as I really want one now! This is all very new to me and this article really opened my eyes.Thanks for sharing with us your wisdom. <a href="http://www.charmhandbags.com" rel="nofollow">http://www.charmhandbags.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mako</title>
		<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/comment-page-1/#comment-67200</link>
		<dc:creator>mako</dc:creator>
		<pubDate>Fri, 13 May 2011 00:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=749#comment-67200</guid>
		<description>hi Bro,
thanks a lot!
very useful!</description>
		<content:encoded><![CDATA[<p>hi Bro,<br />
thanks a lot!<br />
very useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mahesh paymal</title>
		<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/comment-page-1/#comment-8078</link>
		<dc:creator>mahesh paymal</dc:creator>
		<pubDate>Thu, 06 May 2010 09:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=749#comment-8078</guid>
		<description>Sir,
Very nice tutorial. After a long Search i found this &amp; it works like a charm. Thanks in advance
Mahesh Paymal</description>
		<content:encoded><![CDATA[<p>Sir,<br />
Very nice tutorial. After a long Search i found this &amp; it works like a charm. Thanks in advance<br />
Mahesh Paymal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/comment-page-1/#comment-3416</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Wed, 28 Oct 2009 04:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=749#comment-3416</guid>
		<description>That is what I use. And if you put a &quot;-&quot; dash in you get a line all the way across.</description>
		<content:encoded><![CDATA[<p>That is what I use. And if you put a &#8220;-&#8221; dash in you get a line all the way across.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/comment-page-1/#comment-2687</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 16 Sep 2009 07:54:46 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=749#comment-2687</guid>
		<description>Hi, I have had no problem with the simple tutorial here, but am having one spec of trouble when implementing in a much more complicated method: here is the code I currently have:
- (void)triggerAccelerometerBall {
	NSLog(@&quot;triggerAccelerometerBall&quot;);
	UIAccelerometer *accelerometer = [UIAccelerometer sharedAccelerometer];
	accelerometer.delegate = self;
	accelerometer.updateInterval = kUpdateInterval;
	accelerometerBallView.alpha = 1;
}
- (void)accelerometer:(UIAccelerometer *)accelerometer
		didAccelerate:(UIAcceleration *)acceleration {
	if (accelerometerBallColorSegment.selectedSegmentIndex == 0) {accelerometerBallColorSenderString = [NSString stringWithString:@&quot;Yellow&quot;];}
	if (accelerometerBallColorSegment.selectedSegmentIndex == 1) {accelerometerBallColorSenderString = [NSString stringWithString:@&quot;Orange&quot;];}
	if (accelerometerBallColorSegment.selectedSegmentIndex == 2) {accelerometerBallColorSenderString = [NSString stringWithString:@&quot;Red&quot;];}
	if (accelerometerBallColorSegment.selectedSegmentIndex == 3) {accelerometerBallColorSenderString = [NSString stringWithString:@&quot;Green&quot;];}
	if (accelerometerBallColorSegment.selectedSegmentIndex == 4) {accelerometerBallColorSenderString = [NSString stringWithString:@&quot;Aqua&quot; ];}
	if (accelerometerBallColorSegment.selectedSegmentIndex == 5) {accelerometerBallColorSenderString = [NSString stringWithString:@&quot;Black&quot; ];}
	AccelerometerBallController *accelerometerController = [[AccelerometerBallController alloc] init];
//problem...
	accelerometerController.accelerometerBallColorString = accelerometerBallColorSenderString;
//the problem with these 2 lines don&#039;t call the seperate class the same way: notice, accelerometerBallView is called upon to load the other view with my current code. Changing this causes errors anyway I do it. How do I remedy this?
	[(AccelerometerBallController *)accelerometerBallView setAcceleration:acceleration];
	[(AccelerometerBallController *)accelerometerBallView draw];
}
the</description>
		<content:encoded><![CDATA[<p>Hi, I have had no problem with the simple tutorial here, but am having one spec of trouble when implementing in a much more complicated method: here is the code I currently have:<br />
- (void)triggerAccelerometerBall {<br />
	NSLog(@&#8221;triggerAccelerometerBall&#8221;);<br />
	UIAccelerometer *accelerometer = [UIAccelerometer sharedAccelerometer];<br />
	accelerometer.delegate = self;<br />
	accelerometer.updateInterval = kUpdateInterval;<br />
	accelerometerBallView.alpha = 1;<br />
}<br />
- (void)accelerometer:(UIAccelerometer *)accelerometer<br />
		didAccelerate:(UIAcceleration *)acceleration {<br />
	if (accelerometerBallColorSegment.selectedSegmentIndex == 0) {accelerometerBallColorSenderString = [NSString stringWithString:@"Yellow"];}<br />
	if (accelerometerBallColorSegment.selectedSegmentIndex == 1) {accelerometerBallColorSenderString = [NSString stringWithString:@"Orange"];}<br />
	if (accelerometerBallColorSegment.selectedSegmentIndex == 2) {accelerometerBallColorSenderString = [NSString stringWithString:@"Red"];}<br />
	if (accelerometerBallColorSegment.selectedSegmentIndex == 3) {accelerometerBallColorSenderString = [NSString stringWithString:@"Green"];}<br />
	if (accelerometerBallColorSegment.selectedSegmentIndex == 4) {accelerometerBallColorSenderString = [NSString stringWithString:@"Aqua" ];}<br />
	if (accelerometerBallColorSegment.selectedSegmentIndex == 5) {accelerometerBallColorSenderString = [NSString stringWithString:@"Black" ];}<br />
	AccelerometerBallController *accelerometerController = [[AccelerometerBallController alloc] init];<br />
//problem&#8230;<br />
	accelerometerController.accelerometerBallColorString = accelerometerBallColorSenderString;<br />
//the problem with these 2 lines don&#8217;t call the seperate class the same way: notice, accelerometerBallView is called upon to load the other view with my current code. Changing this causes errors anyway I do it. How do I remedy this?<br />
	[(AccelerometerBallController *)accelerometerBallView setAcceleration:acceleration];<br />
	[(AccelerometerBallController *)accelerometerBallView draw];<br />
}<br />
the</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/comment-page-1/#comment-2002</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Tue, 14 Jul 2009 16:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=749#comment-2002</guid>
		<description>For someone who is just getting into programming I think that it would be easier just to use #pragma mark  to organize code instead of creating new classes that would get confusing to a beginner. Here&#039;s a nice article about #pragma mark:   http://tinyurl.com/6jpwab</description>
		<content:encoded><![CDATA[<p>For someone who is just getting into programming I think that it would be easier just to use #pragma mark  to organize code instead of creating new classes that would get confusing to a beginner. Here&#8217;s a nice article about #pragma mark:   <a href="http://tinyurl.com/6jpwab" rel="nofollow">http://tinyurl.com/6jpwab</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/comment-page-1/#comment-1830</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 10 Jun 2009 16:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=749#comment-1830</guid>
		<description>Hi Tory, give me some code plz.</description>
		<content:encoded><![CDATA[<p>Hi Tory, give me some code plz.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tori</title>
		<link>http://chris-software.com/index.php/2009/05/02/passing-data-between-classes/comment-page-1/#comment-1825</link>
		<dc:creator>Tori</dc:creator>
		<pubDate>Tue, 09 Jun 2009 18:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://chris-software.com/?page_id=749#comment-1825</guid>
		<description>Thanks for the tutorial.

I implemented your code in my app, I can see the variable set (through NSLog) in the login page but it is null in the account page both in the label and in NSLog.

I must be missing something</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial.</p>
<p>I implemented your code in my app, I can see the variable set (through NSLog) in the login page but it is null in the account page both in the label and in NSLog.</p>
<p>I must be missing something</p>
]]></content:encoded>
	</item>
</channel>
</rss>

