<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>/harry-webster.co(.uk&#124;m)/ &#187; iphone</title>
	<atom:link href="http://www.harry-webster.co.uk/tag/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.harry-webster.co.uk</link>
	<description>Harry Webster&#039;s Blog</description>
	<lastBuildDate>Thu, 11 Aug 2011 18:43:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hiding a UIBarButtonItem</title>
		<link>http://www.harry-webster.co.uk/2010/07/hiding-a-uibarbuttonitem/</link>
		<comments>http://www.harry-webster.co.uk/2010/07/hiding-a-uibarbuttonitem/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 20:43:30 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[iPhone Apps]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[hidden]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[UIBarButtonItem]]></category>

		<guid isPermaLink="false">http://www.harry-webster.co.uk/?p=158</guid>
		<description><![CDATA[Hiding a UIBarButtonItem, there should really be a hide function :S It&#8217;s pretty simple to set a button (UIButton) to be hidden on [...]]]></description>
			<content:encoded><![CDATA[<p>Hiding a UIBarButtonItem, there should really be a hide function :S It&#8217;s pretty simple to set a button (UIButton) to be hidden on the iPhone:</p>
<p><span style="color: #ff0000;">.h file: IBOutlet UIButton *myButton;<br />
.m file: if(myButton.hidden == NO) [myButton setHidden:YES];</span></p>
<p>So one would expect the UIBarButtonItem to be the same right? Wrong! Why I hear you shout?&#8230; I don&#8217;t have a clue&#8230;</p>
<p>In case you don&#8217;t know or remember what the UIBarButtonItem its the buttons stored inside the footer/header button container.</p>
<div id="attachment_170" class="wp-caption aligncenter" style="width: 318px"><img class="size-full wp-image-170 " title="UIBarButtonItem" src="http://www.harry-webster.co.uk/wp-content/uploads/2010/07/UIBarButtonItem.png" alt="UIBarButtonItem" width="308" height="149" /><p class="wp-caption-text">Both &quot;Your Account&quot; and &quot;Home&quot; are UIBarButtonItems</p></div>
<p>The best solution for this I&#8217;ve found is the following:</p>
<p><span style="color: #ff0000;">.h file: IBOutlet UIBarButtonItem *myBarButton;</span></p>
<p><span style="color: #ff0000;">To hide .m file:</span><br />
<span style="color: #ff0000;">accountCloseButton.title = @&#8221;";</span><br />
<span style="color: #ff0000;"> [ myBarButton setStyle:UIBarButtonItemStylePlain];<br />
[ myBarButton setEnabled:FALSE];</span></p>
<p><span style="color: #ff0000;">To show .m file:<br />
</span><span style="color: #ff0000;">accountCloseButton.title = @&#8221;My Button&#8221;;</span><br />
<span style="color: #ff0000;"> [myBarButton setStyle:UIBarButtonItemStyleBordered];<br />
[myBarButton setEnabled:TRUE];</span></p>
<p><span style="color: #ff0000;">I</span>f you know if there is a reason for this or know of a better solution please post!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harry-webster.co.uk/2010/07/hiding-a-uibarbuttonitem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ping&#8230;&#8230;&#8230;.. PONG!!!</title>
		<link>http://www.harry-webster.co.uk/2010/02/ping-pong/</link>
		<comments>http://www.harry-webster.co.uk/2010/02/ping-pong/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 22:18:43 +0000</pubDate>
		<dc:creator>Harry</dc:creator>
				<category><![CDATA[Darts]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[objective-c]]></category>

		<guid isPermaLink="false">http://www.harry-webster.co.uk/?p=36</guid>
		<description><![CDATA[I know recently I&#8217;ve been really slow to response to my Blog comments, messages on Facebook and not updating Twitter, this isn&#8217;t because [...]]]></description>
			<content:encoded><![CDATA[<p>I know recently I&#8217;ve been really slow to response to my Blog comments, messages on Facebook and not updating Twitter, this isn&#8217;t because I&#8217;ve vanished or slowed down my development in any way&#8230; In fact it&#8217;s been quiet the opposite, I&#8217;ve been spending my time deep in development of my first iPhone application as well as fulfilling my existing responsibilities&#8230;</p>
<p>Although I&#8217;ve been tinkering around with C and Objective-C in the past this is the first time I&#8217;ve been able to put it to use outside of my Systems Administration role! As this is my first iPhone app I really wanted it to be as feature rich as possible to show exactly what can be done and the best way for me to do this is to develop an application for UniScore (uniscore.unicorn-darts.com), giving you access to all the features that it currently supports with the vision to add (or bolt) on features as they get added to the framework (utilising XMLRPC services such as SOAP).</p>
<p>I will be adding a directory of my applications along with other work (that I&#8217;m allowed to publicise) and CV soon, so watch this space!﻿</p>
]]></content:encoded>
			<wfw:commentRss>http://www.harry-webster.co.uk/2010/02/ping-pong/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

