<?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.post5523025999758641428..comments</id><updated>2011-10-17T12:46:40.623-07: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: Recreating UITableViewController to increase code ...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cocoawithlove.com/feeds/5523025999758641428/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/5523025999758641428/comments/default'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/03/recreating-uitableviewcontroller-to.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-6743770678764081804</id><published>2011-10-17T12:46:40.624-07:00</published><updated>2011-10-17T12:46:40.624-07:00</updated><title type='text'>Not only that, but a much better way to reuse code...</title><content type='html'>Not only that, but a much better way to reuse code would be to factor it out into a separate class altogether, and use composition instead of inheritance to take advantage of the functionality.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/5523025999758641428/comments/default/6743770678764081804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/5523025999758641428/comments/default/6743770678764081804'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/03/recreating-uitableviewcontroller-to.html?showComment=1318880800624#c6743770678764081804' 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/2009/03/recreating-uitableviewcontroller-to.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-5523025999758641428' source='http://www.blogger.com/feeds/371408380585915800/posts/default/5523025999758641428' 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-2816502337318706013</id><published>2011-01-12T11:12:26.000-08:00</published><updated>2011-01-12T11:12:26.000-08:00</updated><title type='text'>Tech guy,
As you said they way it ought to be deve...</title><content type='html'>Tech guy,&lt;br /&gt;As you said they way it ought to be developed is by composition NOT by inheritance. Inherittance should never be used as mechanism for code reuse. Tomorrow if apple add some thing more to its tableviewcontroller you will have to go and implement that too. It is always better to put it in a differnt class and utilize that class.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/5523025999758641428/comments/default/2816502337318706013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/5523025999758641428/comments/default/2816502337318706013'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/03/recreating-uitableviewcontroller-to.html?showComment=1294859546000#c2816502337318706013' 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/2009/03/recreating-uitableviewcontroller-to.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-5523025999758641428' source='http://www.blogger.com/feeds/371408380585915800/posts/default/5523025999758641428' 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-2335693271996191510</id><published>2010-12-23T12:48:05.000-08:00</published><updated>2010-12-23T12:48:05.000-08:00</updated><title type='text'>instead of using inheritance, couldn&amp;#39;t you kee...</title><content type='html'>instead of using inheritance, couldn&amp;#39;t you keep the common code in a separate class called &amp;quot;MyCommonTimer&amp;quot; and have a delegate property in that class referring to either the subclass of UITableViewController or subclass of UIViewController.  When timer fires an event, it will call the same methods on the delegate.  That way, you can still utilize Apple&amp;#39;s UITableViewController class for the base class of your tableviews.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/5523025999758641428/comments/default/2335693271996191510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/5523025999758641428/comments/default/2335693271996191510'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/03/recreating-uitableviewcontroller-to.html?showComment=1293137285000#c2335693271996191510' 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/2009/03/recreating-uitableviewcontroller-to.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-5523025999758641428' source='http://www.blogger.com/feeds/371408380585915800/posts/default/5523025999758641428' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry></feed>
