<?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: Semi-Modal (Transparent) Dialogs on the iPhone</title>
	<atom:link href="http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/</link>
	<description>Ramin Firoozye's Public Whisperings</description>
	<lastBuildDate>Fri, 25 Jun 2010 00:07:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Nathan</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-411</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Sun, 20 Jun 2010 05:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-411</guid>
		<description>Thanks for the tutorial; this solved a problem I was working to figure out!  Though one point of note.  In the hideModalEnded function, calling [modalView removeFromSuperview] followed by
[modalView release] may very well give you a EXEC_BAD_ACCESS error as removeFromSuperview will set modalView equal to nil effectively setting the retainCount to zero and destroying the object.  Again thank you for taking the time to post this tutorial, it saved me a chunk of time.</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial; this solved a problem I was working to figure out!  Though one point of note.  In the hideModalEnded function, calling [modalView removeFromSuperview] followed by<br />
[modalView release] may very well give you a EXEC_BAD_ACCESS error as removeFromSuperview will set modalView equal to nil effectively setting the retainCount to zero and destroying the object.  Again thank you for taking the time to post this tutorial, it saved me a chunk of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jon</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-374</link>
		<dc:creator>jon</dc:creator>
		<pubDate>Thu, 17 Jun 2010 03:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-374</guid>
		<description>Thanks for the example I was looking for info on how to do something like this. I was able to adapt this technique to my use case with minimal problems as you explained it with enough detail.  Good Job !!!</description>
		<content:encoded><![CDATA[<p>Thanks for the example I was looking for info on how to do something like this. I was able to adapt this technique to my use case with minimal problems as you explained it with enough detail.  Good Job !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Widell</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-370</link>
		<dc:creator>Victor Widell</dc:creator>
		<pubDate>Wed, 16 Jun 2010 23:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-370</guid>
		<description>Nice code sample! However, there seems to be an error in hideModalEnded:finished:context:

modalView SHOULD NOT BE RELEASED! It is released automatically by calling removeFromSuperView. Se the docs.

Releasing it *might* crash your app, or it might not, so it&#039;s difficult to track down.</description>
		<content:encoded><![CDATA[<p>Nice code sample! However, there seems to be an error in hideModalEnded:finished:context:</p>
<p>modalView SHOULD NOT BE RELEASED! It is released automatically by calling removeFromSuperView. Se the docs.</p>
<p>Releasing it *might* crash your app, or it might not, so it&#8217;s difficult to track down.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-241</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Thu, 03 Jun 2010 21:39:32 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-241</guid>
		<description>Someone helped me at Stack Overflow: http://stackoverflow.com/questions/2969662/iphone-unrecognized-selector-sent-to-instance-error

Basically, I released the view variable too soon.

I knew it was simple!</description>
		<content:encoded><![CDATA[<p>Someone helped me at Stack Overflow: <a href="http://stackoverflow.com/questions/2969662/iphone-unrecognized-selector-sent-to-instance-error" rel="nofollow">http://stackoverflow.com/questions/2969662/iphone-unrecognized-selector-sent-to-instance-error</a></p>
<p>Basically, I released the view variable too soon.</p>
<p>I knew it was simple!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-240</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Thu, 03 Jun 2010 19:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-240</guid>
		<description>I&#039;ve been trying to isolate this problem for days. Your code works great presenting the modal partially overlaying the content, but the controller for that modally presented view causes a crash whenever an IBAction, even an empty one, is called. The console specifies the crash as &quot;unrecognized selector sent to instance.&quot; This same code works fine if the modal is called and dismissed the standard way.

I&#039;ve tried to recreate the modal interface from scratch with just your code and basic methods to call it. Even this stripped down example crashes the same way. Click &quot;+&quot; to present the modal, then click &quot;Done&quot; and the app hangs, then crashes. You can download the project here: http://dl.dropbox.com/u/416448/Test.zip

I&#039;m sure I&#039;m missing something simple here. Any help at all would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been trying to isolate this problem for days. Your code works great presenting the modal partially overlaying the content, but the controller for that modally presented view causes a crash whenever an IBAction, even an empty one, is called. The console specifies the crash as &#8220;unrecognized selector sent to instance.&#8221; This same code works fine if the modal is called and dismissed the standard way.</p>
<p>I&#8217;ve tried to recreate the modal interface from scratch with just your code and basic methods to call it. Even this stripped down example crashes the same way. Click &#8220;+&#8221; to present the modal, then click &#8220;Done&#8221; and the app hangs, then crashes. You can download the project here: <a href="http://dl.dropbox.com/u/416448/Test.zip" rel="nofollow">http://dl.dropbox.com/u/416448/Test.zip</a></p>
<p>I&#8217;m sure I&#8217;m missing something simple here. Any help at all would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-238</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 28 May 2010 02:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-238</guid>
		<description>Great article first.

Regarding &quot;adjust only the transparency of the background, try setting the alpha of the background view to &lt; 1.0 *before* adding any subviews to it&quot;

I tried to do this but it doesn&#039;t work.  Even tried setting the alpha and opaque properties after view added to my fullscreen view that has a semi-transparent background.

Anyone have any ideas how to make the background semi-transparent as suggested in the article.

Thanks again.</description>
		<content:encoded><![CDATA[<p>Great article first.</p>
<p>Regarding &#8220;adjust only the transparency of the background, try setting the alpha of the background view to &lt; 1.0 *before* adding any subviews to it&quot;</p>
<p>I tried to do this but it doesn&#039;t work.  Even tried setting the alpha and opaque properties after view added to my fullscreen view that has a semi-transparent background.</p>
<p>Anyone have any ideas how to make the background semi-transparent as suggested in the article.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-235</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 23 Apr 2010 08:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-235</guid>
		<description>Also, regarding &quot;if you want to flip it up and down and up again, you have to reset the center in -(void)hideModalEnded:&quot;

I added the extra code at the end of each animation cycle - I&#039;m guessing jotwee has the same use-case as me - my view is wrapped in a view controller.. I keep a reference to it (and it&#039;s view) hanging around, so seeming need to do the extra reseting each time, at the of each flip &#039;down&#039;.</description>
		<content:encoded><![CDATA[<p>Also, regarding &#8220;if you want to flip it up and down and up again, you have to reset the center in -(void)hideModalEnded:&#8221;</p>
<p>I added the extra code at the end of each animation cycle &#8211; I&#8217;m guessing jotwee has the same use-case as me &#8211; my view is wrapped in a view controller.. I keep a reference to it (and it&#8217;s view) hanging around, so seeming need to do the extra reseting each time, at the of each flip &#8216;down&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-234</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 22 Apr 2010 17:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-234</guid>
		<description>Great article first.

Regarding &quot;adjust only the transparency of the background, try setting the alpha of the background view to &lt; 1.0 *before* adding any subviews to it&quot;

I tried to do this but it doesn&#039;t work.  Even tried setting the alpha and opaque properties after view added to my fullscreen view that has a semi-transparent background.

Anyone have any ideas how to make the background semi-transparent as suggested in the article.

Thanks again.</description>
		<content:encoded><![CDATA[<p>Great article first.</p>
<p>Regarding &#8220;adjust only the transparency of the background, try setting the alpha of the background view to < 1.0 *before* adding any subviews to it&#8221;</p>
<p>I tried to do this but it doesn&#8217;t work.  Even tried setting the alpha and opaque properties after view added to my fullscreen view that has a semi-transparent background.</p>
<p>Anyone have any ideas how to make the background semi-transparent as suggested in the article.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moe</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-227</link>
		<dc:creator>Moe</dc:creator>
		<pubDate>Wed, 24 Mar 2010 17:10:58 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-227</guid>
		<description>Hi Ramin,

Thanks for posting the tutorial.  I&#039;m having a problem dismissing the modal.

I loaded the model from a Xib as you suggested.

Do you mind posting the entire project?  Thanks</description>
		<content:encoded><![CDATA[<p>Hi Ramin,</p>
<p>Thanks for posting the tutorial.  I&#8217;m having a problem dismissing the modal.</p>
<p>I loaded the model from a Xib as you suggested.</p>
<p>Do you mind posting the entire project?  Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin</title>
		<link>http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/comment-page-1/#comment-226</link>
		<dc:creator>martin</dc:creator>
		<pubDate>Wed, 17 Mar 2010 19:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://ramin.firoozye.com/?p=190#comment-226</guid>
		<description>Interessting tut, but i have problems understanding the way it works.

i am using a tabController in the mainView and derived from UIViewController a window wich should act as an InfoWindow.
Tapping a TableCell should raise the InfoWindow.

exactly the UIView parameter is confusing me....

would you please give me the source to learn from it?

regards!</description>
		<content:encoded><![CDATA[<p>Interessting tut, but i have problems understanding the way it works.</p>
<p>i am using a tabController in the mainView and derived from UIViewController a window wich should act as an InfoWindow.<br />
Tapping a TableCell should raise the InfoWindow.</p>
<p>exactly the UIView parameter is confusing me&#8230;.</p>
<p>would you please give me the source to learn from it?</p>
<p>regards!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
