<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Jason Agostoni</title>
	<atom:link href="http://jason.agostoni.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jason.agostoni.net</link>
	<description>Software Architecture and Development</description>
	<lastBuildDate>Fri, 17 Feb 2012 14:13:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on BizTalk Schema Inheritance Practices / Examples by Prasad</title>
		<link>http://jason.agostoni.net/2011/06/03/biztalk-schema-inheritance-practices-examples/#comment-224</link>
		<dc:creator><![CDATA[Prasad]]></dc:creator>
		<pubDate>Fri, 17 Feb 2012 14:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://jason.agostoni.net/?p=141#comment-224</guid>
		<description><![CDATA[nice article with good explanation]]></description>
		<content:encoded><![CDATA[<p>nice article with good explanation</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPad: Resize view to account for keyboard (updated) by jagostoni</title>
		<link>http://jason.agostoni.net/2011/02/12/ipad-resize-view-to-account-for-keyboard/#comment-220</link>
		<dc:creator><![CDATA[jagostoni]]></dc:creator>
		<pubDate>Fri, 03 Feb 2012 20:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://jagostoni.wordpress.com/?p=60#comment-220</guid>
		<description><![CDATA[Thanks, Steve!]]></description>
		<content:encoded><![CDATA[<p>Thanks, Steve!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPad: Resize view to account for keyboard (updated) by Steve Linberg</title>
		<link>http://jason.agostoni.net/2011/02/12/ipad-resize-view-to-account-for-keyboard/#comment-219</link>
		<dc:creator><![CDATA[Steve Linberg]]></dc:creator>
		<pubDate>Fri, 03 Feb 2012 19:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://jagostoni.wordpress.com/?p=60#comment-219</guid>
		<description><![CDATA[Nice, thank you. 

One tweak: I changed the detection logic to make sure that the control&#039;s entire frame is within view, not just its origin point. I had one textfield line up just peeking above the keyboard enough to see the cursor, but not the text :)

    CGRect controlRect = CGRectMake(fieldOrigin.x, fieldOrigin.y, activeField.frame.size.width, activeField.frame.size.height);
    if (!CGRectContainsRect(aRect, controlRect) ) {
        [controlsScrollView scrollRectToVisible:activeField.frame animated:YES];
    }]]></description>
		<content:encoded><![CDATA[<p>Nice, thank you. </p>
<p>One tweak: I changed the detection logic to make sure that the control&#8217;s entire frame is within view, not just its origin point. I had one textfield line up just peeking above the keyboard enough to see the cursor, but not the text <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>    CGRect controlRect = CGRectMake(fieldOrigin.x, fieldOrigin.y, activeField.frame.size.width, activeField.frame.size.height);<br />
    if (!CGRectContainsRect(aRect, controlRect) ) {<br />
        [controlsScrollView scrollRectToVisible:activeField.frame animated:YES];<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BizTalk Schema Inheritance Practices / Examples by Dharm</title>
		<link>http://jason.agostoni.net/2011/06/03/biztalk-schema-inheritance-practices-examples/#comment-216</link>
		<dc:creator><![CDATA[Dharm]]></dc:creator>
		<pubDate>Thu, 19 Jan 2012 10:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://jason.agostoni.net/?p=141#comment-216</guid>
		<description><![CDATA[Good explanation. Thank you.]]></description>
		<content:encoded><![CDATA[<p>Good explanation. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPad: Resize view to account for keyboard (updated) by jagostoni</title>
		<link>http://jason.agostoni.net/2011/02/12/ipad-resize-view-to-account-for-keyboard/#comment-211</link>
		<dc:creator><![CDATA[jagostoni]]></dc:creator>
		<pubDate>Tue, 03 Jan 2012 16:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://jagostoni.wordpress.com/?p=60#comment-211</guid>
		<description><![CDATA[The code I have is integrated with my projects and wouldn&#039;t make sense to post here other than the examples above.  When I get a chance, sometime, perhaps I&#039;ll create a demo project and post that.]]></description>
		<content:encoded><![CDATA[<p>The code I have is integrated with my projects and wouldn&#8217;t make sense to post here other than the examples above.  When I get a chance, sometime, perhaps I&#8217;ll create a demo project and post that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPad: Resize view to account for keyboard (updated) by Oswaldo</title>
		<link>http://jason.agostoni.net/2011/02/12/ipad-resize-view-to-account-for-keyboard/#comment-210</link>
		<dc:creator><![CDATA[Oswaldo]]></dc:creator>
		<pubDate>Mon, 02 Jan 2012 21:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://jagostoni.wordpress.com/?p=60#comment-210</guid>
		<description><![CDATA[Do you by any chance can post the code for download and analysis?]]></description>
		<content:encoded><![CDATA[<p>Do you by any chance can post the code for download and analysis?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPad: Resize view to account for keyboard (updated) by bjarke</title>
		<link>http://jason.agostoni.net/2011/02/12/ipad-resize-view-to-account-for-keyboard/#comment-184</link>
		<dc:creator><![CDATA[bjarke]]></dc:creator>
		<pubDate>Wed, 21 Sep 2011 10:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://jagostoni.wordpress.com/?p=60#comment-184</guid>
		<description><![CDATA[Hey Thank you - you saved my day.
I forgot the [self.myScrollView setContentSize:CGSizeMake(768,2000)]; as well which took me an hour to nice - thanks again.

Bjarke
Denmarkl]]></description>
		<content:encoded><![CDATA[<p>Hey Thank you &#8211; you saved my day.<br />
I forgot the [self.myScrollView setContentSize:CGSizeMake(768,2000)]; as well which took me an hour to nice &#8211; thanks again.</p>
<p>Bjarke<br />
Denmarkl</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on New TFS Build Extensions by Community TFS Build Extensions &#8212; we&#8217;re at it again &#171; Mike Fourie</title>
		<link>http://jason.agostoni.net/2011/07/05/new-tfs-build-extension/#comment-175</link>
		<dc:creator><![CDATA[Community TFS Build Extensions &#8212; we&#8217;re at it again &#171; Mike Fourie]]></dc:creator>
		<pubDate>Sat, 06 Aug 2011 19:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://jason.agostoni.net/?p=172#comment-175</guid>
		<description><![CDATA[[...] Shai Raiten, Richard Fennel, Ricci Gian Maria, Willy-Peter Schaub, Jeff Levinson, Leonard Woody, Jason Agostoni, Deepak Gupta, Alvin Ashcraft, Jason [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Shai Raiten, Richard Fennel, Ricci Gian Maria, Willy-Peter Schaub, Jeff Levinson, Leonard Woody, Jason Agostoni, Deepak Gupta, Alvin Ashcraft, Jason [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPad: Resize view to account for keyboard (updated) by ghr</title>
		<link>http://jason.agostoni.net/2011/02/12/ipad-resize-view-to-account-for-keyboard/#comment-174</link>
		<dc:creator><![CDATA[ghr]]></dc:creator>
		<pubDate>Thu, 04 Aug 2011 06:53:34 +0000</pubDate>
		<guid isPermaLink="false">http://jagostoni.wordpress.com/?p=60#comment-174</guid>
		<description><![CDATA[Further to the phantom scrolling problem above, I changed the code at the end of the method to the following and it seems to work for me. I realise this may not be optimal but...

    if (!CGRectContainsPoint(aRect, fieldOrigin) ) {
        //[scrollView scrollRectToVisible:[activeField.superview convertRect:activeField.frame toView:scrollView] //animated:YES];
        fieldOrigin = activeField.frame.origin;
        fieldOrigin.x = 0.0;
        fieldOrigin.y -= 20.0;
        [scrollView setContentOffset:fieldOrigin animated:YES];
    }]]></description>
		<content:encoded><![CDATA[<p>Further to the phantom scrolling problem above, I changed the code at the end of the method to the following and it seems to work for me. I realise this may not be optimal but&#8230;</p>
<p>    if (!CGRectContainsPoint(aRect, fieldOrigin) ) {<br />
        //[scrollView scrollRectToVisible:[activeField.superview convertRect:activeField.frame toView:scrollView] //animated:YES];<br />
        fieldOrigin = activeField.frame.origin;<br />
        fieldOrigin.x = 0.0;<br />
        fieldOrigin.y -= 20.0;<br />
        [scrollView setContentOffset:fieldOrigin animated:YES];<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPad: Resize view to account for keyboard (updated) by ghr</title>
		<link>http://jason.agostoni.net/2011/02/12/ipad-resize-view-to-account-for-keyboard/#comment-173</link>
		<dc:creator><![CDATA[ghr]]></dc:creator>
		<pubDate>Thu, 04 Aug 2011 04:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://jagostoni.wordpress.com/?p=60#comment-173</guid>
		<description><![CDATA[Two things to add:
1) Further testing (!) in the above scenario shows that once the hidden field has scrolled to the top of the scrollView and is visible and I start to type, the field then scrolls again off the top of the scrollview so I have to scroll it back down to continue typing! 
Not yet sure what&#039;s happening here. The method scrollViewDidScroll is invoked four times by the time the first character is typed - two before and two after.

2) I find that with Anders&#039; code in place, with my scenario, if I click on any of the fields in the last two rows and then dismiss the keyboard, only the last two rows are displayed at the top of the scrollview - even if I clicked on a field in the last row. It does not return to showing 4 rows.
If I scroll after clicking on any field in the last two rows and then dismiss the keyboard, no scrolling occurs and I am left seeing just those fields visible after I scrolled - which may be what Anders code is trying to achieve. But it has the (unwanted in my view) side effect of not returning to the original starting point if I did not scroll after clicking in a field.]]></description>
		<content:encoded><![CDATA[<p>Two things to add:<br />
1) Further testing (!) in the above scenario shows that once the hidden field has scrolled to the top of the scrollView and is visible and I start to type, the field then scrolls again off the top of the scrollview so I have to scroll it back down to continue typing!<br />
Not yet sure what&#8217;s happening here. The method scrollViewDidScroll is invoked four times by the time the first character is typed &#8211; two before and two after.</p>
<p>2) I find that with Anders&#8217; code in place, with my scenario, if I click on any of the fields in the last two rows and then dismiss the keyboard, only the last two rows are displayed at the top of the scrollview &#8211; even if I clicked on a field in the last row. It does not return to showing 4 rows.<br />
If I scroll after clicking on any field in the last two rows and then dismiss the keyboard, no scrolling occurs and I am left seeing just those fields visible after I scrolled &#8211; which may be what Anders code is trying to achieve. But it has the (unwanted in my view) side effect of not returning to the original starting point if I did not scroll after clicking in a field.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

