<?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 for James Border</title>
	<atom:link href="http://jamesborder.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesborder.com</link>
	<description>Interactive/Mobile/iOS Developer</description>
	<lastBuildDate>Fri, 09 Sep 2011 19:20:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>Comment on IOS &#8211; Button click with button text by me</title>
		<link>http://jamesborder.com/2010/11/ios-button-click-with-button-text/comment-page-1/#comment-195</link>
		<dc:creator>me</dc:creator>
		<pubDate>Fri, 09 Sep 2011 19:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://jamesborder.com/?p=655#comment-195</guid>
		<description>Thanks Jorge but what i was doing there was getting the text/title string from a UIbutton when it was tapped. The context was (roughly i don&#039;t remember the exact details) i had 3 options and three buttons. Each button represented a cheese for example ( American, Swiss, Cheddar ) and the selection was passed to the next step. So each button was bound to the same IBAction and the text/title from the selected button was pulled and used instead of using the button index and a switch statement for instance to choose the string.

Thanks again.
jb</description>
		<content:encoded><![CDATA[<p>Thanks Jorge but what i was doing there was getting the text/title string from a UIbutton when it was tapped. The context was (roughly i don&#8217;t remember the exact details) i had 3 options and three buttons. Each button represented a cheese for example ( American, Swiss, Cheddar ) and the selection was passed to the next step. So each button was bound to the same IBAction and the text/title from the selected button was pulled and used instead of using the button index and a switch statement for instance to choose the string.</p>
<p>Thanks again.<br />
jb</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IOS &#8211; Button click with button text by jorge</title>
		<link>http://jamesborder.com/2010/11/ios-button-click-with-button-text/comment-page-1/#comment-194</link>
		<dc:creator>jorge</dc:creator>
		<pubDate>Fri, 09 Sep 2011 19:00:01 +0000</pubDate>
		<guid isPermaLink="false">http://jamesborder.com/?p=655#comment-194</guid>
		<description>There&#039;s a better way to achieve this very same task, by using the delegate method of the UIActionsSheet

in your .h file:

....: UIViewController  { .....

in your .m file:

 - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
{

    NSLog(@&quot;Button Index: %i&quot;, buttonIndex);
}

hope this helps!

regards,

Jorge</description>
		<content:encoded><![CDATA[<p>There&#8217;s a better way to achieve this very same task, by using the delegate method of the UIActionsSheet</p>
<p>in your .h file:</p>
<p>&#8230;.: UIViewController  { &#8230;..</p>
<p>in your .m file:</p>
<p> &#8211; (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex<br />
{</p>
<p>    NSLog(@&#8221;Button Index: %i&#8221;, buttonIndex);<br />
}</p>
<p>hope this helps!</p>
<p>regards,</p>
<p>Jorge</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on set up a home caching-nameserver (centos 5) by tom kaminski</title>
		<link>http://jamesborder.com/2010/02/set-up-a-home-dns-server-centos-5/comment-page-1/#comment-5</link>
		<dc:creator>tom kaminski</dc:creator>
		<pubDate>Mon, 26 Apr 2010 20:07:40 +0000</pubDate>
		<guid isPermaLink="false">http://jamesborder.com/?p=462#comment-5</guid>
		<description>Worked like a charm for Centos 5.4  Good answer..</description>
		<content:encoded><![CDATA[<p>Worked like a charm for Centos 5.4  Good answer..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

