<?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: Adding any kinds of UI elements into a UINavigationBar</title>
	<atom:link href="http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/</link>
	<description>iCab related stuff; Mac, iPhone and Cocoa programming</description>
	<lastBuildDate>Wed, 15 May 2013 09:32:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-12375</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Fri, 20 May 2011 20:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-12375</guid>
		<description><![CDATA[@Miri
I&#039;m not sure what exactly you&#039;re doing.Maybe you should create a small demo project and send it to me, so I can see what you&#039;ve done.]]></description>
		<content:encoded><![CDATA[<p>@Miri<br />
I&#8217;m not sure what exactly you&#8217;re doing.Maybe you should create a small demo project and send it to me, so I can see what you&#8217;ve done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miri</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-12169</link>
		<dc:creator>Miri</dc:creator>
		<pubDate>Thu, 12 May 2011 05:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-12169</guid>
		<description><![CDATA[Hi Alexander,

That&#039;s what I did - I used a Navigation toolbar without a navigation controller. I added a Navigation toolbar programmatically in viewDidLoad. Then, in another function, I wanted to change its leftBarButtonItem and I was able to do it only when I added again the Navigation toolbar.

Thanks,
Miri]]></description>
		<content:encoded><![CDATA[<p>Hi Alexander,</p>
<p>That&#8217;s what I did &#8211; I used a Navigation toolbar without a navigation controller. I added a Navigation toolbar programmatically in viewDidLoad. Then, in another function, I wanted to change its leftBarButtonItem and I was able to do it only when I added again the Navigation toolbar.</p>
<p>Thanks,<br />
Miri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-12162</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Wed, 11 May 2011 23:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-12162</guid>
		<description><![CDATA[@Miri
When using a UINavigationController, you can set the left and right buttons only under certain conditions, because the controller really controls almost everything at all times. This means you can usually only use the default behavior of the UINavigationController.
When using a Navigation toolbar without a navigation controller you have much more freedom.]]></description>
		<content:encoded><![CDATA[<p>@Miri<br />
When using a UINavigationController, you can set the left and right buttons only under certain conditions, because the controller really controls almost everything at all times. This means you can usually only use the default behavior of the UINavigationController.<br />
When using a Navigation toolbar without a navigation controller you have much more freedom.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miri</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-12142</link>
		<dc:creator>Miri</dc:creator>
		<pubDate>Wed, 11 May 2011 09:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-12142</guid>
		<description><![CDATA[Hi,
Good explanation!
If I want to refer this navBar instance, somewhere else in the code and change its leftBarButtonItem, how do I do it? I only succeed when I defined the navBar again and add it again to self.view. I assume there is a better way to do it.

Thanks a lot,
Miri]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
Good explanation!<br />
If I want to refer this navBar instance, somewhere else in the code and change its leftBarButtonItem, how do I do it? I only succeed when I defined the navBar again and add it again to self.view. I assume there is a better way to do it.</p>
<p>Thanks a lot,<br />
Miri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-11434</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Thu, 21 Apr 2011 10:19:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-11434</guid>
		<description><![CDATA[@Allen
You don&#039;t need a private API for this. All you need to do is to place a UIView with a semi-transparent background color on top of the URL field and resize this view based on the current progress value. And if you make sure that the user-interaction property for this UIView is switched off, all taps on this view will go directly to the URL field which is located below the progress view.]]></description>
		<content:encoded><![CDATA[<p>@Allen<br />
You don&#8217;t need a private API for this. All you need to do is to place a UIView with a semi-transparent background color on top of the URL field and resize this view based on the current progress value. And if you make sure that the user-interaction property for this UIView is switched off, all taps on this view will go directly to the URL field which is located below the progress view.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allen</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-11431</link>
		<dc:creator>Allen</dc:creator>
		<pubDate>Thu, 21 Apr 2011 07:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-11431</guid>
		<description><![CDATA[Thanks Alexander. 
I wonder how did you show the progress in the UITextField you put on the navigationBar? I used a private API [UITextField setProgress:(float)value], but the result is very strange.]]></description>
		<content:encoded><![CDATA[<p>Thanks Alexander.<br />
I wonder how did you show the progress in the UITextField you put on the navigationBar? I used a private API [UITextField setProgress:(float)value], but the result is very strange.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akram</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-10012</link>
		<dc:creator>Akram</dc:creator>
		<pubDate>Mon, 14 Mar 2011 13:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-10012</guid>
		<description><![CDATA[Nice Example... great one really]]></description>
		<content:encoded><![CDATA[<p>Nice Example&#8230; great one really</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-8839</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Fri, 11 Feb 2011 15:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-8839</guid>
		<description><![CDATA[@AD
Just use the standard methods for the buttons to disable them. UIButton objects (or UIControl objects) do have properties like &quot;selected&quot;, &quot;enabled&quot;, &quot;highlighted&quot;. So there&#039;s nothing special here.]]></description>
		<content:encoded><![CDATA[<p>@AD<br />
Just use the standard methods for the buttons to disable them. UIButton objects (or UIControl objects) do have properties like &#8220;selected&#8221;, &#8220;enabled&#8221;, &#8220;highlighted&#8221;. So there&#8217;s nothing special here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AD</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-8836</link>
		<dc:creator>AD</dc:creator>
		<pubDate>Fri, 11 Feb 2011 15:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-8836</guid>
		<description><![CDATA[How do you disable buttons that you&#039;ve added to the uinavigation bar, esp if you do it this way? Thanks]]></description>
		<content:encoded><![CDATA[<p>How do you disable buttons that you&#8217;ve added to the uinavigation bar, esp if you do it this way? Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kartik Thapar</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-5532</link>
		<dc:creator>Kartik Thapar</dc:creator>
		<pubDate>Sat, 13 Nov 2010 11:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-5532</guid>
		<description><![CDATA[Thanks Alexander. Much help. 

Would it be possible for you to pass me those button images? I am looking out for the search button, actions button and organise button. I am not good at photoshop, so I cannot make them myself. 

Thanks for your help.]]></description>
		<content:encoded><![CDATA[<p>Thanks Alexander. Much help. </p>
<p>Would it be possible for you to pass me those button images? I am looking out for the search button, actions button and organise button. I am not good at photoshop, so I cannot make them myself. </p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-5524</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Sat, 13 Nov 2010 09:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-5524</guid>
		<description><![CDATA[@Kartik Thapar

In iCab Mobile the toolbar is just a normal UIView with a background image. And the buttons are standard UIButtons.

But even if you&#039;re using a navigation toolbar (which is also just a UIView), you have to add normal buttons (as subviews) instead of UIBarButtonItems if you need more than just two buttons in the toolbar. A navigation toolbar accepts only two UIBarButtonItems at certain locations. And because a UIBarButtonItem is not a UIView, you can&#039;t add them as subviews as normal UIViews.]]></description>
		<content:encoded><![CDATA[<p>@Kartik Thapar</p>
<p>In iCab Mobile the toolbar is just a normal UIView with a background image. And the buttons are standard UIButtons.</p>
<p>But even if you&#8217;re using a navigation toolbar (which is also just a UIView), you have to add normal buttons (as subviews) instead of UIBarButtonItems if you need more than just two buttons in the toolbar. A navigation toolbar accepts only two UIBarButtonItems at certain locations. And because a UIBarButtonItem is not a UIView, you can&#8217;t add them as subviews as normal UIViews.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kartik Thapar</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-5511</link>
		<dc:creator>Kartik Thapar</dc:creator>
		<pubDate>Fri, 12 Nov 2010 23:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-5511</guid>
		<description><![CDATA[Hi Alexander

I am trying to create a uinavigation bar which is quite similar to the one we find in safari (iPad). The issue is that I am not able to add uibarbuttonitems to the navigation bar. The navigation bar would be more than 44 pixel. 

Can you please explain, how you added those uibarbuttonitems (bookmarks,etc) to the navigationbar in iCab?

Thanks very much.]]></description>
		<content:encoded><![CDATA[<p>Hi Alexander</p>
<p>I am trying to create a uinavigation bar which is quite similar to the one we find in safari (iPad). The issue is that I am not able to add uibarbuttonitems to the navigation bar. The navigation bar would be more than 44 pixel. </p>
<p>Can you please explain, how you added those uibarbuttonitems (bookmarks,etc) to the navigationbar in iCab?</p>
<p>Thanks very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-3150</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Wed, 02 Jun 2010 21:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-3150</guid>
		<description><![CDATA[Thanks dude, I&#039;m both iphone designer / developer and I wanted red buttons on a black nav bar.. combined with this tutorial http://www.switchonthecode.com/tutorials/iphone-tutorial-how-to-create-a-blue-navigation-button you helped me out! 

Keep it up!]]></description>
		<content:encoded><![CDATA[<p>Thanks dude, I&#8217;m both iphone designer / developer and I wanted red buttons on a black nav bar.. combined with this tutorial <a href="http://www.switchonthecode.com/tutorials/iphone-tutorial-how-to-create-a-blue-navigation-button" rel="nofollow">http://www.switchonthecode.com/tutorials/iphone-tutorial-how-to-create-a-blue-navigation-button</a> you helped me out! </p>
<p>Keep it up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-3065</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Sat, 29 May 2010 07:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-3065</guid>
		<description><![CDATA[Yes, since OS 3.2 you can also place the toolbars at the top of the screen. But at the time I wrote this article, OS 3.2 was not available and it was not possible to place a UIToolbar at the top of three screen without some visual glitches.  ]]></description>
		<content:encoded><![CDATA[<p>Yes, since OS 3.2 you can also place the toolbars at the top of the screen. But at the time I wrote this article, OS 3.2 was not available and it was not possible to place a UIToolbar at the top of three screen without some visual glitches.  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.icab.de/blog/2009/10/13/adding-any-kinds-of-ui-elements-into-a-uinavigationbar/comment-page-1/#comment-3061</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 28 May 2010 23:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=79#comment-3061</guid>
		<description><![CDATA[If you don&#039;t need a NavigationBar&#039;s back button, why not just do it all in IB with a toolbar as your base?  Toolbars don&#039;t just have to go on the bottom of the view.]]></description>
		<content:encoded><![CDATA[<p>If you don&#8217;t need a NavigationBar&#8217;s back button, why not just do it all in IB with a toolbar as your base?  Toolbars don&#8217;t just have to go on the bottom of the view.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
