<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-371408380585915800.post3985308213235023231..comments</id><updated>2010-12-24T14:18:31.065-08:00</updated><category term='C++'/><category term='self promotion'/><category term='code management'/><category term='Lion'/><category term='UIKit'/><category term='CoreAudio'/><category term='Cocoa Touch'/><category term='Xcode'/><category term='fun hacks'/><category term='CoreGraphics'/><category term='Objective-C'/><category term='Standard C'/><category term='graphics'/><category term='performance tests'/><category term='Core Data'/><category term='Foundation'/><category term='object-oriented design'/><category term='testing'/><category term='numerical methods'/><category term='WebKit'/><category term='CoreAnimation'/><category term='Snow Leopard'/><category term='AppKit'/><title type='text'>Comments on Cocoa with Love: Heterogeneous cells in a UITableViewController</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cocoawithlove.com/feeds/3985308213235023231/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/3985308213235023231/comments/default'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2008/12/heterogeneous-cells-in.html'/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-2767346426473123917</id><published>2010-12-24T14:18:30.000-08:00</published><updated>2010-12-24T14:18:30.000-08:00</updated><title type='text'>also, would you recommend moving the null check fo...</title><content type='html'>also, would you recommend moving the null check for &amp;quot;tableGroups&amp;quot; in GenericTableViewController to a custom getter, and have that method create the table groups on demand? i ask because i am myself learning about good object oriented design, and want to know if this is a good idea.&lt;br /&gt;&lt;br /&gt;then, for example, you could have in your tableView:cellForRowAtIndexPath: method only the return call, using &amp;quot;self.tableGroups&amp;quot; instead of &amp;quot;tableGroups&amp;quot;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/3985308213235023231/comments/default/2767346426473123917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/3985308213235023231/comments/default/2767346426473123917'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2008/12/heterogeneous-cells-in.html?showComment=1293229110000#c2767346426473123917' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2008/12/heterogeneous-cells-in.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-3985308213235023231' source='http://www.blogger.com/feeds/371408380585915800/posts/default/3985308213235023231' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-7718594290458940474</id><published>2010-12-24T14:13:24.000-08:00</published><updated>2010-12-24T14:13:24.000-08:00</updated><title type='text'>this is an implementation of the state design patt...</title><content type='html'>this is an implementation of the state design pattern by the GoF, right?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/3985308213235023231/comments/default/7718594290458940474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/3985308213235023231/comments/default/7718594290458940474'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2008/12/heterogeneous-cells-in.html?showComment=1293228804000#c7718594290458940474' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2008/12/heterogeneous-cells-in.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-3985308213235023231' source='http://www.blogger.com/feeds/371408380585915800/posts/default/3985308213235023231' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-3620285222155138440</id><published>2010-06-04T10:36:55.000-07:00</published><updated>2010-06-04T10:36:55.000-07:00</updated><title type='text'>Thanks for this. The one issue I&amp;#39;ve hit is tha...</title><content type='html'>Thanks for this. The one issue I&amp;#39;ve hit is that since CellController is a protocol, the controller object is not properly part of the controller hierarchy. This hit me when I wanted to access navigationController from the cell to move to another page.&lt;br /&gt;&lt;br /&gt;The solution that comes to mind is modifying the protocol method signatures to pass the parent controller back in place of the tableView. (Since you can always pull the tableView out of the controller.) But I&amp;#39;m curious what others think.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/3985308213235023231/comments/default/3620285222155138440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/3985308213235023231/comments/default/3620285222155138440'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2008/12/heterogeneous-cells-in.html?showComment=1275673015000#c3620285222155138440' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2008/12/heterogeneous-cells-in.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-3985308213235023231' source='http://www.blogger.com/feeds/371408380585915800/posts/default/3985308213235023231' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry></feed>
