<?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: iPhone Sample: Calling methods in between classes</title>
	<atom:link href="http://www.chuckstar.com/blog/technology/iphone-sample-calling-methods-in-between-classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chuckstar.com/blog/technology/iphone-sample-calling-methods-in-between-classes/</link>
	<description>excerpts from the mind of a platform evangelist</description>
	<lastBuildDate>Wed, 11 Jan 2012 16:24:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Esg</title>
		<link>http://www.chuckstar.com/blog/technology/iphone-sample-calling-methods-in-between-classes/comment-page-1/#comment-68970</link>
		<dc:creator>Esg</dc:creator>
		<pubDate>Sat, 19 Jun 2010 04:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=384#comment-68970</guid>
		<description>Thanks Chuck.  i&#039;ve tried to call method from the other class according to your way, but it hangs. any comments for this??

@interface EAControlClass : NSObject {
	unsigned char test_1;
}
- (unsigned char) GetConnectedStatus;
@end

@implementation EAControlClass
- (unsigned char) GetConnectedStatus
{
	test_1 = 100;
	return test_1;
}
@end

TimerTick method to call GetConnectedStatus() in the other class.
#import &quot;EAControlClass.h&quot;
-( void ) TimerTick
{
	unsigned char received_data;
	received_data =  [(EAControlClass*)self GetConnectedStatus];
}</description>
		<content:encoded><![CDATA[<p>Thanks Chuck.  i&#8217;ve tried to call method from the other class according to your way, but it hangs. any comments for this??</p>
<p>@interface EAControlClass : NSObject {<br />
	unsigned char test_1;<br />
}<br />
- (unsigned char) GetConnectedStatus;<br />
@end</p>
<p>@implementation EAControlClass<br />
- (unsigned char) GetConnectedStatus<br />
{<br />
	test_1 = 100;<br />
	return test_1;<br />
}<br />
@end</p>
<p>TimerTick method to call GetConnectedStatus() in the other class.<br />
#import &#8220;EAControlClass.h&#8221;<br />
-( void ) TimerTick<br />
{<br />
	unsigned char received_data;<br />
	received_data =  [(EAControlClass*)self GetConnectedStatus];<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.chuckstar.com/blog/technology/iphone-sample-calling-methods-in-between-classes/comment-page-1/#comment-68831</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Tue, 08 Jun 2010 17:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=384#comment-68831</guid>
		<description>Thanks Chuck! I was spinning my wheels with this one trying something like:
Helper *helper = [[Helper alloc] init];
helper.mymethodcall;
[helper release];

And it just gave me errors. Thanks for the elegant solution!</description>
		<content:encoded><![CDATA[<p>Thanks Chuck! I was spinning my wheels with this one trying something like:<br />
Helper *helper = [[Helper alloc] init];<br />
helper.mymethodcall;<br />
[helper release];</p>
<p>And it just gave me errors. Thanks for the elegant solution!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

