<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: UIPickerView skin with transparent selection bar (aka &#8220;an hour or two of hell&#8221;)</title>
	<atom:link href="http://aralbalkan.com/2985/feed" rel="self" type="application/rss+xml" />
	<link>http://aralbalkan.com/2985</link>
	<description>Passionate geekisms.</description>
	<lastBuildDate>Tue, 22 May 2012 18:33:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Herman</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-265724</link>
		<dc:creator>Herman</dc:creator>
		<pubDate>Tue, 13 Mar 2012 13:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-265724</guid>
		<description>do you know how to remove the border of the UIPickerVIew?</description>
		<content:encoded><![CDATA[<p>do you know how to remove the border of the UIPickerVIew?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kalvin</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-264895</link>
		<dc:creator>kalvin</dc:creator>
		<pubDate>Wed, 14 Dec 2011 15:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-264895</guid>
		<description>I have managed another way to change the transparency of the selectionBar in a UIPickerView.

Put the following code into a method that runs after the picker is completely loaded and its components filled.

CODE:

[UIView beginAnimations:@&quot;SetSelectionBarAlpha&quot; context:NULL];
[UIView setAnimationDuration:0];

for (id view in self.PickerViewController.view.subviews) {
    if ([view class] == NSClassFromString(@&quot;_UIPickerViewSelectionBar&quot;)) {
        [(UIView*)view setAlpha:0];
    }
}

[UIView commitAnimations];</description>
		<content:encoded><![CDATA[<p>I have managed another way to change the transparency of the selectionBar in a UIPickerView.</p>
<p>Put the following code into a method that runs after the picker is completely loaded and its components filled.</p>
<p>CODE:</p>
<p>[UIView beginAnimations:@"SetSelectionBarAlpha" context:NULL];<br />
[UIView setAnimationDuration:0];</p>
<p>for (id view in self.PickerViewController.view.subviews) {<br />
    if ([view class] == NSClassFromString(@&#8221;_UIPickerViewSelectionBar&#8221;)) {<br />
        [(UIView*)view setAlpha:0];<br />
    }<br />
}</p>
<p>[UIView commitAnimations];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan W.</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-264157</link>
		<dc:creator>Dan W.</dc:creator>
		<pubDate>Thu, 22 Sep 2011 18:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-264157</guid>
		<description>Sorry this is about a year and a half late, but I know I was looking into info for general skinning of ios components and found people were stuck on this part of the problem.

A simpler solution would be:
1 - create a black layer in photoshop
2 - add a mask
3 - in the channels pallet past your selection bar into the alpha channel
4 - invert the colors of the selected alpha channel ( cmd + i )


Now you have a transparent colorless version of your bar.  There are a few other tricks and steps you can do to tweak it to your hearts content, but I&#039;ll leave those for you to figure out. :)</description>
		<content:encoded><![CDATA[<p>Sorry this is about a year and a half late, but I know I was looking into info for general skinning of ios components and found people were stuck on this part of the problem.</p>
<p>A simpler solution would be:<br />
1 &#8211; create a black layer in photoshop<br />
2 &#8211; add a mask<br />
3 &#8211; in the channels pallet past your selection bar into the alpha channel<br />
4 &#8211; invert the colors of the selected alpha channel ( cmd + i )</p>
<p>Now you have a transparent colorless version of your bar.  There are a few other tricks and steps you can do to tweak it to your hearts content, but I&#8217;ll leave those for you to figure out. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-261652</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 01 Nov 2010 10:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-261652</guid>
		<description>Thanks. Great tutorial - runs perfect in the simulator but when it runs on device (iphone 4 - ios 4.0) the image is not overlayed on top, just wondered if you had encountered this?

much appreciated,
Mike</description>
		<content:encoded><![CDATA[<p>Thanks. Great tutorial &#8211; runs perfect in the simulator but when it runs on device (iphone 4 &#8211; ios 4.0) the image is not overlayed on top, just wondered if you had encountered this?</p>
<p>much appreciated,<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aral</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-261454</link>
		<dc:creator>Aral</dc:creator>
		<pubDate>Mon, 04 Oct 2010 10:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-261454</guid>
		<description>Thanks, Nils :)</description>
		<content:encoded><![CDATA[<p>Thanks, Nils :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nils Hayat</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-261412</link>
		<dc:creator>Nils Hayat</dc:creator>
		<pubDate>Tue, 28 Sep 2010 18:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-261412</guid>
		<description>Hey great post!

If I may I wanted to add that you could also have determined which alpha Apple is using: if you take 2 points on the same horizontal line, 1 in the white area and one on the text (black color),

You get 2 equations and 2 unknowns which gives you the original color AND the alpha used by Apple.

After computation, if BlackD is the appearing black through the layer and WhiteD the appearing white, then I have :

alpha = 1 + BlackD -WhiteD

Then you can use this alpha with you formula to get exactly where Apple was ;-)</description>
		<content:encoded><![CDATA[<p>Hey great post!</p>
<p>If I may I wanted to add that you could also have determined which alpha Apple is using: if you take 2 points on the same horizontal line, 1 in the white area and one on the text (black color),</p>
<p>You get 2 equations and 2 unknowns which gives you the original color AND the alpha used by Apple.</p>
<p>After computation, if BlackD is the appearing black through the layer and WhiteD the appearing white, then I have :</p>
<p>alpha = 1 + BlackD -WhiteD</p>
<p>Then you can use this alpha with you formula to get exactly where Apple was ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-260412</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Wed, 02 Jun 2010 06:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-260412</guid>
		<description>@test

Your solution seems to be much true!</description>
		<content:encoded><![CDATA[<p>@test</p>
<p>Your solution seems to be much true!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: test</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-260189</link>
		<dc:creator>test</dc:creator>
		<pubDate>Tue, 11 May 2010 20:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-260189</guid>
		<description>_pickerView.showsSelectionIndicator = NO

then just add the selection bar you want as an overlay?</description>
		<content:encoded><![CDATA[<p>_pickerView.showsSelectionIndicator = NO</p>
<p>then just add the selection bar you want as an overlay?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hhamm</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-260187</link>
		<dc:creator>hhamm</dc:creator>
		<pubDate>Tue, 11 May 2010 13:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-260187</guid>
		<description>Have you ever tried the AI File from apple which contains all of iPhone GUI Elements including the UIPickerView.
The File should easily be found via google and this search term : &quot;iphone ui vector elements.ai&quot;

cheers,
Hans</description>
		<content:encoded><![CDATA[<p>Have you ever tried the AI File from apple which contains all of iPhone GUI Elements including the UIPickerView.<br />
The File should easily be found via google and this search term : &#8220;iphone ui vector elements.ai&#8221;</p>
<p>cheers,<br />
Hans</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aral</title>
		<link>http://aralbalkan.com/2985/comment-page-1#comment-259135</link>
		<dc:creator>Aral</dc:creator>
		<pubDate>Mon, 11 Jan 2010 21:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/?p=2985#comment-259135</guid>
		<description>Thanks, man, that&#039;s high praise coming from you – big fan of your TVOutput code :)</description>
		<content:encoded><![CDATA[<p>Thanks, man, that&#8217;s high praise coming from you – big fan of your TVOutput code :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

